sshivampeta opened a new pull request, #16234: URL: https://github.com/apache/iceberg/pull/16234
### Summary This PR adds core-level regression coverage for [#16217](https://github.com/apache/iceberg/issues/16217), which reports an unrecoverable table state after running DROP PARTITION FIELD followed by DROP COLUMN on an identity-partitioned source column. ### **What’s covered** .partitions metadata table remains queryable after dropping a partition field and then dropping the former source column. Re-adding the dropped column name (same column name, new field ID) succeeds after the drop sequence. ### Notes / context The original issue is reported against Iceberg 1.10.1 (Spark 3.5.8). On current main, the core behavior appears fixed; these tests prevent regressions. This is core-only coverage (no Spark SQL / HMS integration in this PR). ### Test plan ./gradlew :iceberg-core:test --tests org.apache.iceberg.TestMetadataTableScansWithPartitionEvolution.testPartitionsTableWithDroppedPartitionSourceColumn ./gradlew :iceberg-core:test --tests org.apache.iceberg.TestMetadataTableScansWithPartitionEvolution.testReAddDroppedPartitionSourceColumnName ### Issue link Relates to #16217. ### Files changed core/src/test/java/org/apache/iceberg/TestMetadataTableScansWithPartitionEvolution.java (adds 2 regression tests) **authored-by**: Shivakumar Shivampeta -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
