Fokko commented on issue #229:
URL: https://github.com/apache/iceberg-python/issues/229#issuecomment-1866123182

   Hey @sebpretzer Thanks for reaching out. The IDs are re-assigned in a 
pre-order fashion. This is to make sure that the IDs are set correctly when you 
first create a table. After creating the table, the schema should be 
automatically be updated.
   
   In general the APIs are designed in such a way that you don't have to set 
field-ids:
   
   ```python
   with table.update_schema() as update:
       update.add_column("retries", IntegerType(), "Number of retries to place 
the bid")
   ```
   
   Let me know if this answers the question, or if there is anything unclear.


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