jdockerty commented on issue #919: URL: https://github.com/apache/iceberg-rust/issues/919#issuecomment-2638081901
> in pyiceberg, we have a function that will reassign field-ids and return a TableMetadata object Yeah, I missed the link into the main issue description, but I noticed this is also the case within the [Java implementation](https://github.com/apache/iceberg/blob/585a338c1e9d287476462e3a6abab40b8803fc2c/core/src/main/java/org/apache/iceberg/TableMetadata.java#L118-L119) too. I assume this carries over to all of the other language implementations as well. > we also allow creating `TableMetadata` object with provided Schema Can you point me to where this is done? I can only find the regular `new_table_metadata` in PyIceberg (which you linked), which looks equivalent to [`TableMetadataBuilder::new`](https://docs.rs/iceberg/0.4.0/iceberg/spec/struct.TableMetadataBuilder.html#method.new) here, which is doing the [same reassignment](https://docs.rs/iceberg/0.4.0/src/iceberg/spec/table_metadata_builder.rs.html#87-89) when passed an iceberg `Schema` to the function. -- 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]
