nuno-faria opened a new pull request, #8554: URL: https://github.com/apache/arrow-rs/pull/8554
# Which issue does this PR close? - Closes #8542. # Rationale for this change When the `max_predicate_cache_size` is set to 0 there is no need to select multiple data pages until `batch_size` is reached. # What changes are included in this PR? - Make `ReaderFactory::compute_cache_projection` return `None` if the cache is disabled, which will end up not retrieving multiple pages unnecessarily. - Added a unit test to confirm the new behavior. # Are these changes tested? Yes. # Are there any user-facing changes? No. -- 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]
