Uh oh!
There was an error while loading. Please reload this page.
ORC-1662: [C++] Upgrade protobuf to 3.21.12 - #1857
Conversation
wgtmac
commented
Mar 22, 2024
Thanks for the PR! Unfortunately the new protobuf version is not compatible to compile libhdfspp. Let me investigate this. |
wgtmac
commented
Mar 22, 2024
Update: I tried to upgrade libhdfspp. But unfortunately, I ran this command https://github.com/apache/orc/blob/main/c%2B%2B/libs/libhdfspp/pull_hdfs.sh#L25 without check. It wiped out my current directory (which is the root user profile). |
dongjoon-hyun
commented
Mar 22, 2024
Oh, too bad for the accident. |
### What changes were proposed in this pull request? This PR aims to remove HDFS support code from Apache ORC repository. ### Why are the changes needed? Apache ORC 2.0.1 deprecated HDFS Support to address the following issues. - #1885 - #1857 - #2134 ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity` This closes#2136 . Closes#2544 from dongjoon-hyun/ORC-2102. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun
commented
Feb 23, 2026
Could you rebase this PR, @ffacs ? |
Guard alias creation for protobuf::libprotobuf and protobuf::protoc to avoid duplicate target errors when Protobuf >= 3.21 already exports them. Also mark protobuf headers as SYSTEM to suppress compiler warnings from protobuf code. Co-authored-by: Cursor <cursoragent@cursor.com>
Align the meson build protobuf version with the CMake build (3.21.12) using the latest wrapdb patch (3.21.12-5). Co-authored-by: Cursor <cursoragent@cursor.com>
f9737e2 to
91a336aComparewgtmac
commented
Feb 25, 2026
@dongjoon-hyun I think it is a good idea to bump protobuf to a higher version. FTR, we internally upgraded to protobuf/5.27.0 for C++. |
wgtmac
commented
Feb 25, 2026
Arrow is still using v21.3: https://github.com/apache/arrow/blob/main/cpp/thirdparty/versions.txt#L95 |
dongjoon-hyun
commented
Feb 25, 2026
Given that Arrow community is our big customer for ORC C++, I'm fine with the AS-IS PR also. Then, I'll bump the protobuf-java only because Spark community is our big customer for ORC java. Thank you! |
What changes were proposed in this pull request?
Upgrade protobuf to 3.21.12
Why are the changes needed?
To fix compilation failure on vs2022
How was this patch tested?
UT passed
Was this patch authored or co-authored using generative AI tooling?
NO