kevinjqliu commented on issue #919:
URL: https://github.com/apache/iceberg-rust/issues/919#issuecomment-2637971231

   It makes sense to be able to create an `TableMetadata` object without 
automatically assigning the field-ids. Esp for use cases such as what you 
described above. 
   
   How we can do so is another question. `TableMetadata::new` currently has 
this behavior and we need to figure out how to move forward without breaking 
existing integrations
   
   in pyiceberg, we have a function that will reassign field-ids and return a 
`TableMetadata` object
   
https://github.com/apache/iceberg-python/blob/8ed8f6cae9f431be7eea7ea8d6aec6e6ec537f1f/pyiceberg/table/metadata.py#L571-L581
   but we also allow creating `TableMetadata` object with provided `Schema` 


-- 
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]

Reply via email to