Repository navigation
GH-36405: [C++][ORC] Upgrade ORC to 1.9.0 - #36406
Conversation
|
@kou Please take a look, thanks! |
|
Thanks! Can we write a code that works with both of ORC 1.9.0 and 1.8.4? Our CI job that still uses ORC 1.8.4 failed with this change: |
|
Unfortunately there isn't any approach to work for both 1.9.0 and 1.8.4 except disabling this test temporarily. It will be fixed via apache/orc#1557. |
|
Oh... I found the We can detect ORC version by CMake and export it to C++ but it'll be overkill for this. Could you disable the test for now? |
|
I just workaround this by creating a writer to create the batch instead of directly calling on the type object. I think this is fine as it is only used in the test. @kou |
|
Conbench analyzed the 6 benchmark runs on commit There were 8 benchmark results indicating a performance regression:
The full Conbench report has more details. |
### Rationale for this change Apache ORC has released 1.9.0 recently: https://orc.apache.org/news/2023/06/28/ORC-1.9.0/ The code base does not compile if we upgrade directly due to a new API below: ```cpp virtual std::unique_ptr<ColumnVectorBatch> createRowBatch( uint64_t size, MemoryPool& pool, bool encoded = false) const = 0; virtual std::unique_ptr<ColumnVectorBatch> createRowBatch( uint64_t size, MemoryPool& pool, bool encoded = false, bool useTightNumericVector = false) const = 0; ``` ### What changes are included in this PR? Explicitly specify which overload of `createRowBatch` to use in the orc test. ### Are these changes tested? Yes, make sure all tests build and pass. ### Are there any user-facing changes? NO. * Closes: apache#36405 Authored-by: Gang Wu <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
Apache ORC has released 1.9.0 recently: https://orc.apache.org/news/2023/06/28/ORC-1.9.0/
The code base does not compile if we upgrade directly due to a new API below:
What changes are included in this PR?
Explicitly specify which overload of
createRowBatchto use in the orc test.Are these changes tested?
Yes, make sure all tests build and pass.
Are there any user-facing changes?
NO.