Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1386

Enable Partition Pruning for filesystem queries

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            DrillCommitter DrillCommitter
            jnadeau Jacques Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: