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

Early exit from recursive file listing for LIMIT 0 queries

    XMLWordPrintableJSON

Details

    Description

      The existing LIMIT 0 query optimisations do not prevent a query run against the top of a deep DFS directory tree from recursively listing FileStatuses for everything within it using a pool of worker threads. This Issue proposes a new optimisation whereby such queries will recurse into the directory tree on a single thread that returns as soon as any single FileStatus has been obtained.

      Attachments

        Activity

          People

            dzamo James Turton
            dzamo James Turton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: