How could we count files from a hdfs folder, groupped by date?
Example:
2020-01-03 10:00:00 - file 1
2020-01-03 11:00:00 - file 2
2020-01-03 12:00:00 - file 3
2020-02-03 10:00:00 - file 4
Expected result:
3 2020-01-03
1 2020-02-03
question from:https://stackoverflow.com/questions/65923492/how-to-count-number-of-files-groupped-by-date-in-hdfs