GH-48337: [C++][Parquet] Improve column encryption API#48338
Merged
pitrou merged 1 commit intoapache:mainfrom Dec 8, 2025
Merged
GH-48337: [C++][Parquet] Improve column encryption API#48338pitrou merged 1 commit intoapache:mainfrom
pitrou merged 1 commit intoapache:mainfrom
Conversation
Member
Author
|
@EnricoMi @adamreeve Does this look ok to you? |
adamreeve
approved these changes
Dec 5, 2025
Contributor
adamreeve
left a comment
There was a problem hiding this comment.
👍 This is so much nicer.
I think removing the column_path property is fine and unlikely to cause much of a problem for user code.
EnricoMi
reviewed
Dec 8, 2025
Collaborator
EnricoMi
left a comment
There was a problem hiding this comment.
LGTM! This is a good simplification.
|
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 85ea78d. There were no benchmark performance regressions. 🎉 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
While working on PR #48336 I quickly got irritated by the clumsiness of the Parquet encryption configuration API. This issue attempts to reduce the verbosity of
ColumnEncryptionPropertiesconstruction.What changes are included in this PR?
column_pathmember inColumnEncryptionPropertiesColumnEncryptionPropertiesfactory functions to avoid going through the clumsyBuilderAPIAre these changes tested?
Yes
Are there any user-facing changes?
Two deprecated constructors and a removed accessor for an useless property.
This PR includes breaking changes to public APIs. (If there are any breaking changes to public APIs, please explain which changes are breaking. If not, you can remove this.)