Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.5.0
-
None
Description
If you have files:
/files/2012/Jan/log.csv
/files/2013/Jan/log.csv
And write the query "select * from `/files/` where dir0 = 2012 and dir1='Jan' "
Drill will read both files and then filter out all of the second file. Drill should recognize that dir0=2012 and dir1='Jan' can be pushed down into the storage layer to prune the files read as part of the query.