-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-41725: [Python] CMake: ignore Parquet encryption option if Parquet itself is not enabled (fix Java integration build) #41776
Conversation
…sabled (same as base parquwet) - fix Java integration build
|
This seems to work, the Java C Data Integration build is working again (and showing the cmake warning; I could fix that warning but not entirely sure I should just disable parquet encryption by default in |
This reverts commit abcdf76.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 9bd0ddb. There was 1 benchmark result indicating a performance regression:
The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…arquet itself is not enabled (fix Java integration build) (apache#41776) ### Rationale for this change Because of refactoring in apache#41480, explicitly enabling `PYARROW_WITH_PARQUET_ENCRYPTION` without enabling `PYARROW_WITH_PARQUET` (and without Arrow C++ being built with Parquet support) now raises an error, while before we checked in `setup.py` that both were enabled for enabling encryption support. This patch mimics that logic in CMakeLists.txt with a warning added. ### What changes are included in this PR? When PyArrow with Parquet Encryption is enabled but PyArrow with Parquet itself is not, ignore the encryption setting, but warn about it. ### Are these changes tested? Yes * GitHub Issue: apache#41725 Authored-by: Joris Van den Bossche <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
Because of refactoring in #41480, explicitly enabling
PYARROW_WITH_PARQUET_ENCRYPTION
without enablingPYARROW_WITH_PARQUET
(and without Arrow C++ being built with Parquet support) now raises an error, while before we checked insetup.py
that both were enabled for enabling encryption support. This patch mimics that logic in CMakeLists.txt with a warning added.What changes are included in this PR?
When PyArrow with Parquet Encryption is enabled but PyArrow with Parquet itself is not, ignore the encryption setting, but warn about it.
Are these changes tested?
Yes