Skip to content

Conversation

@twuebi
Copy link
Contributor

@twuebi twuebi commented Jul 23, 2025

Aligns us a bit more with the Java & Rust implementations where functionally equivalent schemas don't get added a second time. It also aligns renumbering of schemas to be equivalent to java/rust.

Java source: https://github.com/apache/iceberg/blob/41c0b17a20c522e4df519bcc429f413e6a2855e5/core/src/main/java/org/apache/iceberg/TableMetadata.java#L117-L138
Rust source: https://github.com/apache/iceberg-rust/blob/c4c006939a3cb3bf684a0d10ba0e66cac484befe/crates/iceberg/src/spec/table_metadata_builder.rs#L1068

@twuebi twuebi force-pushed the tp/reuse-schemas-increment-schema-ids branch from 9a16a1c to bad1740 Compare July 24, 2025 09:10
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, looks good. just some nitpicks

@twuebi twuebi force-pushed the tp/reuse-schemas-increment-schema-ids branch from 132f50c to 2e68dd9 Compare July 28, 2025 11:46
@twuebi twuebi requested a review from zeroshade August 2, 2025 15:32
@twuebi twuebi force-pushed the tp/reuse-schemas-increment-schema-ids branch from 2e68dd9 to 577cd2f Compare August 5, 2025 18:30
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a single nitpick

@twuebi twuebi requested a review from zeroshade August 5, 2025 19:52
@twuebi twuebi requested a review from zeroshade August 5, 2025 20:11
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good

@zeroshade zeroshade merged commit b511736 into apache:main Aug 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants