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

Add Limit Pushdown to File Based Storage Plugins

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.19.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: