feat: Parquet Modular Encryption with Spark KMS for native readers#2447
Merged
Conversation
…ark side accessed via JNI.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2447 +/- ##
============================================
+ Coverage 56.12% 58.92% +2.79%
- Complexity 976 1457 +481
============================================
Files 119 147 +28
Lines 11743 13642 +1899
Branches 2251 2369 +118
============================================
+ Hits 6591 8038 +1447
- Misses 4012 4381 +369
- Partials 1140 1223 +83 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hsiang-c
reviewed
Sep 23, 2025
hsiang-c
reviewed
Sep 23, 2025
hsiang-c
reviewed
Sep 23, 2025
…yption factory registration in parquet_exec.rs.
Contributor
|
Also look at https://github.com/apache/parquet-java/blob/master/parquet-hadoop/src/test/java/org/apache/parquet/crypto/TestPropertiesDrivenEncryption.java to see if there are any tests that might be relevant here. |
# Conflicts: # spark/src/main/scala/org/apache/comet/CometExecIterator.scala
martin-g
reviewed
Oct 1, 2025
hsiang-c
reviewed
Oct 6, 2025
|
|
||
| // spotless:off | ||
| /* | ||
| * Architecture Overview: |
Contributor
There was a problem hiding this comment.
This diagram is super helpful, thanks a lot.
hsiang-c
reviewed
Oct 6, 2025
hsiang-c
reviewed
Oct 6, 2025
# Conflicts: # native/core/src/execution/jni_api.rs # spark/src/main/scala/org/apache/comet/CometExecIterator.scala # spark/src/main/scala/org/apache/comet/Native.scala
coderfender
pushed a commit
to coderfender/datafusion-comet
that referenced
this pull request
Dec 13, 2025
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.

Which issue does this PR close?
Closes #.
Rationale for this change
We want to add Parquet Module Encryption support for the native readers when using a Spark KMS. We use the encryption factory features added in DataFusion 50 to register an encryption factory that uses JNI to get decryption keys from Spark.
What changes are included in this PR?
How are these changes tested?