alamb opened a new pull request, #21556: URL: https://github.com/apache/datafusion/pull/21556
## Which issue does this PR close? - Follow on to https://github.com/apache/datafusion/pull/21480 from @fpetkovski ## Rationale for this change @Dandandan suggested https://github.com/apache/datafusion/pull/21480#discussion_r3055933546 > Maybe better is to delay it so they are only created after we loaded the page index, this avoids doing it as well for files without page index (and avoids it in short-circuit scenarios / query cancellation). Which is a good idea to further optimize low latency queries This also applies to the clickbench_partitioned dataset which has no page indexes ## What changes are included in this PR? 1. Delay page pruning until after we have loaded the page index (if it exists) 2. Tests ## Are these changes tested? Yes ## Are there any user-facing changes? Faster performance (though I am not sure we will be able to measure it) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
