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

Push down the LIMIT to the parquet reader scan to limit the numbers of records read

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Storage - Parquet
    • Labels:
      None

      Description

      Limit the number of records read from disk by pushing down the limit to parquet reader.

      For queries like
      select * from <table> limit N;

      where N < size of Parquet row group, we are reading 32K/64k rows or entire row group. This needs to be optimized to read only N rows.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppenumarthy Padma Penumarthy
                Reporter:
                ppenumarthy Padma Penumarthy
                Reviewer:
                Rahul Kumar Challapalli
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: