[C++][Parquet] FileKeyWrapper uses KMSConnectionConfig without setting default values
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
Research direction
Start in cpp/src/parquet/encryption/file_key_wrapper.cc at the SetDefaultIfEmpty call around line 38 and the GetKmsClient call around line 43. Compare this write path with the read paths, then verify that the KMS client receives the defaulted configuration rather than the original empty values. Run the relevant Parquet encryption tests and confirm empty KMS settings use their defaults.
Written by the indexing model from the issue text.
Description
See this comment for context: https://github.com/apache/arrow/pull/51350#discussion_r4022003610
SetDefaultIfEmpty is called on the kms_connection_config_ member, but then the original, unmodified config is passed to GetKmsClient.
This means that the KMS URL and ID can end up being empty when passed to the KmsClientFactory. In the read paths this is not the case, the defaults are used to replace empty values before creating the client factory.
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 93
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow
-
Component: Continuous Integration Component: MATLAB Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Component: C++ Component: Parquet Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Component: C++ Type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Component: Archery Component: Continuous Integration Component: Developer Tools Type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Component: Python Type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
infiniflow/infinity#3502 ·