jnturton commented on PR #2636: URL: https://github.com/apache/drill/pull/2636#issuecomment-1234361083
@vvysotskyi I did spot one [other recursive file listing](https://github.com/jnturton/drill/blob/65fb7ddc144ecae5330c9325af63010748f74cdf/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/metadata/Metadata.java#L376) that could possibly use the short cut in this PR if I propagate a `limit0` flag down to it. It appears to be invoked only if there are Parquet files present at the top level of the queried path which I don't think should be too common for big datasets since data files are generally only present at the leaves of the directory tree. So I thought I'd ask if you think it's worth trying to implement the single file short cut here too, or we just leave it alone? -- 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