Orc: Closes #5777 - Obtain ORC stripe offsets from writer
What?
Fixes ORCFileAppender such that it can retrieve the stripe offsets from the writer instead of having to reopen the file.
Why?
From ORC 1.7 we have a public API for getting stripe information from the writer. This avoids an additional IO to get stripe offsets
Tests
Added unit test to verify that the offsets are matching the offsets read from the file
@kbendick Hope you are still looking at ORC support on Iceberg. Can you please take a look at this PR?
Looks good other than an error message and some tests for unrelated cases.
@rdblue I have addressed the review comments can you please take another look at this?
Thanks, @pavibhai! Looks great so I merged it.