geruh commented on issue #2177:
URL: 
https://github.com/apache/iceberg-python/issues/2177#issuecomment-3046896340

   Hey @fusion2222, 
   
   usually when we insert/modify table data in iceberg snapshots get produced, 
but.... it looks like this can be forced in both libraries (java/python) by 
committing an empty append operation. 
   
   ```
   tbl = catalog.create_table(table_ident, schema)
   empty_df = schema.as_arrow().empty_table()
   tbl.append(empty_df)
   ```


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