mkuchenbecker opened a new pull request, #2707: URL: https://github.com/apache/orc/pull/2707
### What changes were proposed in this pull request? Update `InStream.UncompressedStream.seek(long)` to treat the stream's exact logical end as a valid seek position when the shared disk range list contains later ranges for other streams. Add a regression test covering a logical-end seek followed by an unrelated disk range. ### Why are the changes needed? A stream may end at a disk range that is not the final node in the shared range list. The existing logic rejects that range end or selects a later range, although seeking to `length` is a valid EOF position for the current stream. ### How was this patch tested? `JAVA_HOME=$(/usr/libexec/java_home -v 21) ./mvnw -pl core -am -Dtest=TestInStream -Dsurefire.failIfNoSpecifiedTests=false test` ### Was this patch authored or co-authored using generative AI tooling? Generated-by: GitHub Copilot CLI 1.0.80 -- 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]
