jnturton opened a new pull request, #2636:
URL: https://github.com/apache/drill/pull/2636

   # [DRILL-8290](https://issues.apache.org/jira/browse/DRILL-8290): Short 
circuit recursive file listings for LIMIT 0 queries
   
   ## 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 PR adds 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.
   
   ## Documentation
   Mention in the docs on LIMIT 0 optimisations.
   
   ## Testing
   TODO
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to