Hi,
The input data files for my spark job generated at every five minutes file
name follows epoch time convention  as below :

InputFolder/batch-1474959600000
InputFolder/batch-1474959900000
InputFolder/batch-1474960200000
InputFolder/batch-1474960500000
InputFolder/batch-1474960800000
InputFolder/batch-1474961100000
InputFolder/batch-1474961400000
InputFolder/batch-1474961700000
InputFolder/batch-1474962000000
InputFolder/batch-1474962300000

As per requirement I need to read one month of data from current timestamp.

Would really appreciate if anybody could help me .

Thanks,
Divya

Reply via email to