Hi I am loading the files in the folder into HDFS using Pig for processing. The folder names are in the format MM-dd-yyyy. For instance
/Test/02-10-2016/file1
/Test/02-11-2016/file2
/Test/20-12-2016/file3
Likewise /Test folder includes date from 01-01-2015 to 20-12-2016. while loading this folder I want to exclude some date files such as 02-10-2016,02-09-2016.
I know we can use regex in the load statement like
ex = load '/TEST/*';
Like this how to use regex to exclude some files in load statement?