Make "null decryptor" exception more informative
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.6k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 33
Description
Forgetting to pass decryption properties when reading an encrypted column in files with plaintext footer, results in a "null decryptor" exception thrown in the ColumnChunkMetaData class. The exception text can/should be updated to point to the possible reason.
**Reporter**: [Gidon Gershinsky](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gershinsky) / @ggershinsky
**Assignee**: [Gidon Gershinsky](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gershinsky) / @ggershinsky
**Note**: *This issue was originally created as [PARQUET-2033](https://issues.apache.org/jira/browse/PARQUET-2033). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the ColumnChunkMetaData class and locate where the "null decryptor" exception is created when reading encrypted columns with a plaintext footer. Update the exception text to point to missing decryption properties as a possible cause, then verify that the resulting message explains this scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100