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

Add Limit Pushdown to File Based Storage Plugins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.17.0
    • 1.19.0
    • None
    • None

    Description

      As currently implemented, when querying a file, Drill will read the entire file even if a limit is specified in the query.  This PR does a few things:

      1. Refactors the EasyGroupScan, EasySubScan, and EasyFormatConfig to allow the option of pushing down limits.
      2. Applies this to all the EVF based format plugins which are: LogRegex, PCAP, SPSS, Esri, Excel and Text (CSV). 

      Due to JSON's fluid schema, it would be unwise to adopt the limit pushdown as it could result in very inconsistent schemata.

      Attachments

        Activity

          People

            cgivre Charles Givre
            cgivre Charles Givre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: