wgtmac opened a new pull request, #2409: URL: https://github.com/apache/orc/pull/2409
### What changes were proposed in this pull request? - Fix prefetching when small stripe limit is 0 to prefetch current stripe data and next stripe footer. - Prefetch next small stripe if current stripe is currently the last small stripe that cached fully. - Prefetch and coalesce ranges of index. - Refactor code to try read from cache and then fall back to original stream. ### Why are the changes needed? To make stripe prefetching more effective. ### How was this patch tested? Added test case for small stripe limit 0. Other fixes are verified manually due to not easy to reflect in the test. ### Was this patch authored or co-authored using generative AI tooling? 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]
