Repository navigation
Vortex, Spark: Support Iceberg table encryption - #51
Draft
robert3005 wants to merge 1 commit into
Draft
robert3005 wants to merge 1 commit into
robert3005 wants to merge 1 commit into
Conversation
Support native per-file AES-GCM encryption and AAD prefixes as well as AES-GCM stream encryption for Vortex data and delete files, and support Vortex footer metrics in Spark RepairTable across Spark 3.5–4.2. Generated-by: Antigravity
This branch has not been deployed
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.
Vortex data and delete files could not be written to or read from encrypted Iceberg tables, nor inspected by
RepairTablemetrics repair. Wire Iceberg's per-fileNativeEncryptionOutputFileandNativeEncryptionInputFilekeys and AAD prefixes into Vortex's native segment-level AES-GCM encryption across writes, scans, split planning, metadata reads, and footer metrics extraction, while recordingPositionOutputStream.storedLength()soAesGcmOutputFilestream encryption also reports physical ciphertext sizes. Enable Vortex file metrics inRepairMetricsacross Spark 3.5–4.2, preserving exact single-file position delete path bounds when Vortex's footer widens long string bounds. Draft untilvortex-data/vortexPRs apache#10968, apache#11257, apache#11258, and apache#11259 merge and releasevortex-jni(0.95.0-213-gd8e461cis local).Test plan:
AesGcmOutputFilestream fallback iniceberg-vortex.FormatModeltests and parameterizeTestGenericReaderEncryptionover Parquet and Vortex with encrypted equality deletes and DVs.RewriteManifests,RepairTablemetrics repair, and keyless file-read rejection on encrypted Vortex tables.AI Disclosure
RepairMetricsintegration, and tests were generated by the agent)iceberg-vortex,iceberg-data, and Spark 3.5–4.2 includingRepairTablemetrics support