GH-40507: [C++][ORC] Upgrade ORC to 2.0.0#40508
Conversation
|
OK, I'm wrong: |
|
Hmm, that is test scope, and the other builds pass. So I guess that pipeline uses Java 8 and we could maybe exclude the file? |
|
That said, I think what we've done is to hold off on package updates requiring Java 8 for now, since we're still supporting Java 8...We were trying to drop Java 8 support but some people spoke out against. Maybe we need to revisit that. |
|
As |
|
I added this to the list at #38051 |
|
I think what's going to have to happen is that if someone really needs Java 8 support, they are going to have to maintain the fork or otherwise come up with a strategy, because eventually these CVE fixes pile up and we won't be able to defer the issue any longer |
|
@github-actions crossbow submit wheel-windows-* |
This comment was marked as outdated.
This comment was marked as outdated.
|
I think we're going to revisit Java 8 in the next 3-6 months so we can include this PR in that effort. |
|
You can probably split the Java and C++ parts of this PR. |
|
Just reverted the java module change. Thanks for the reminder! @pitrou |
|
@github-actions crossbow submit -g python -g wheel |
|
@github-actions crossbow submit -g cpp |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
So it seems this breaks the macOS wheel builds for Python 3.8, 3.9 and 3.10 (but not 3.11 and 3.12). The symbol is @wgtmac Is ORC 2.0 building its own protobuf from scratch? Answer: it should not, we're passing |
|
Hmm, weirdly, the 3.10 build succeeded when restarted. |
|
@github-actions crossbow submit wheel-macos-*-arm64 |
This comment was marked as outdated.
This comment was marked as outdated.
|
Okay, I think I've found it:
Note |
|
@github-actions crossbow submit wheel-macos-*-arm64 |
|
Yuck, this PR is based on an old version of the git repo... |
This comment was marked as outdated.
This comment was marked as outdated.
|
@github-actions crossbow submit wheel-macos-*-arm64 |
This comment was marked as outdated.
This comment was marked as outdated.
Right, ORC should use what we provide here: arrow/cpp/cmake_modules/ThirdpartyToolchain.cmake Lines 4386 to 4396 in a9b2cc2 |
|
@github-actions crossbow submit -g python -g wheel -g cpp |
|
Revision: 48f6387 Submitted crossbow builds: ursacomputing/crossbow @ actions-33cf00f7e6 |
pitrou
left a comment
There was a problem hiding this comment.
CI results look unrelated now, I'll merge
|
Thank you for the investigation! @pitrou |
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 4f39e6e. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them. |
### Rationale for this change This PR aims to upgrade to a new major version of Apache ORC: https://orc.apache.org/news/2024/03/08/ORC-2.0.0/ ### What changes are included in this PR? This PR upgrades ORC dependency from 1.9.2 to 2.0.0. ### Are these changes tested? Pass the CIs. ### Are there any user-facing changes? No. * GitHub Issue: apache#40507 Lead-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: Gang Wu <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
This PR aims to upgrade to a new major version of Apache ORC: https://orc.apache.org/news/2024/03/08/ORC-2.0.0/
What changes are included in this PR?
This PR upgrades ORC dependency from 1.9.2 to 2.0.0.
Are these changes tested?
Pass the CIs.
Are there any user-facing changes?
No.