You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "manuzhang (via GitHub)" <gi...@apache.org> on 2026/06/10 15:44:10 UTC
[PR] Core: Backport DV encryption metadata preservation to 1.11.x [iceberg]
manuzhang opened a new pull request, #16759:
URL: https://github.com/apache/iceberg/pull/16759
Backports apache/iceberg#15911 to the 1.11.x release branch.
This preserves encryption key metadata when merged deletion vectors are written, including native key metadata with the final Puffin file length. It also brings over focused coverage for encrypted DV merges and DV writer key metadata handling.
Validation:
- `./gradlew :iceberg-core:spotlessJavaCheck :iceberg-data:spotlessJavaCheck`
- `./gradlew :iceberg-core:test --tests org.apache.iceberg.TestRowDelta`
- `./gradlew :iceberg-data:test --tests org.apache.iceberg.io.TestDVWriters` compiled the data test base but did not run tests directly because `TestDVWriters` is abstract
- `./gradlew -DsparkVersions=4.1 :iceberg-spark:iceberg-spark-4.1_2.13:test --tests org.apache.iceberg.spark.source.TestSparkDVWriters.testDVWriterUsesNativeEncryptionKeyMetadataWithFileSize --tests org.apache.iceberg.spark.source.TestSparkDVWriters.testDVWriterPreservesNonNativeEncryptionKeyMetadata`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Core: Backport DV encryption metadata preservation to 1.11.x [iceberg]
Posted by "Oleksii-Omhovytskyi-Veeam (via GitHub)" <gi...@apache.org>.
Oleksii-Omhovytskyi-Veeam commented on PR #16759:
URL: https://github.com/apache/iceberg/pull/16759#issuecomment-4922983564
Thanks @manuzhang for this backport and @huaxingao for merging it.
I verified it against the repro in #16157: on stock 1.11.0, a merge-on-read UPDATE/DELETE on a natively-encrypted (format-v3) table fails on the next read with IllegalStateException: Null key metadata buffer. Building iceberg-spark-runtime-4.0 + iceberg-aws-bundle from 1.11.x with this change resolves it - the MOR update/delete round-trips, and the deletion-vector Puffin files are now written with encryption key metadata.
Since this is on the 1.11.x branch now: is a 1.11.1 patch release on the near-term radar? And separately, any expected timeframe for 1.12.0 (which carries #15911)?
Issue #16157 appears to be the same bug (its stack trace matches exactly) but isn't linked here, so it's probably worth linking and closing it once a release ships.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Core: Backport DV encryption metadata preservation to 1.11.x [iceberg]
Posted by "huaxingao (via GitHub)" <gi...@apache.org>.
huaxingao commented on PR #16759:
URL: https://github.com/apache/iceberg/pull/16759#issuecomment-4686834437
Thanks @manuzhang for the PR! Thanks @singhpk234 for the review!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Core: Backport DV encryption metadata preservation to 1.11.x [iceberg]
Posted by "huaxingao (via GitHub)" <gi...@apache.org>.
huaxingao merged PR #16759:
URL: https://github.com/apache/iceberg/pull/16759
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org