Core, Data: Validate equality delete field IDs#17028
Open
u70b3 wants to merge 1 commit into
Open
Conversation
1828e63 to
764f4e4
Compare
764f4e4 to
7d753ef
Compare
Validate equality delete field IDs against equality delete row schemas across factory and direct writer paths. Generated-by: Codex
7d753ef to
a4666c1
Compare
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.
Summary
This PR brings stricter equality delete field ID validation into the Java SDK, aligned with the behavior added in iceberg-rust#2723.
The validation now rejects:
Changes
DeleteSchemaUtil.validateEqualityFieldIds.FileWriterBuilderImpl.Testing
./gradlew :iceberg-core:test --tests org.apache.iceberg.avro.TestAvroDeleteWriters --tests org.apache.iceberg.formats.TestFormatModelRegistry :iceberg-data:test --tests org.apache.iceberg.data.TestGenericFileWriterFactory --tests org.apache.iceberg.TestGenericAppenderFactory :iceberg-parquet:test --tests org.apache.iceberg.parquet.TestParquetDeleteWriters :iceberg-orc:test --tests org.apache.iceberg.orc.TestOrcDeleteWriters :iceberg-core:spotlessCheck :iceberg-data:spotlessCheck :iceberg-parquet:spotlessCheck :iceberg-orc:spotlessCheckAI Disclosure