GitHub user dentiny closed a discussion: [Question] How to generate manifest 
files and manifest list

Hi community, I'm trying to use iceberg-rust to write columns into parquet 
files, and generate iceberg table.

>From my understand (and what chatgpt told me), to generate manifest files and 
>manifest list, I need to use transaction and commit. The pseudocode looks like
```py
txn = transaction(table)
while True:
  # Write to parquet ourselves.
  data_file = write_new_parquet_file()
  txn.add_new_data_files(data_file)
# Manifest files and manifest list is created automatically.
txn.commit()
```
So next time when we read the catalog, we're able to retrieve the snapshots.

But reading through the current catalog implementation, I found only REST one 
implements `update_table`, which means `transaction::commit` is at an un-usable 
state.

I would like to make sure if I understand correctly? Thanks!

GitHub link: https://github.com/apache/iceberg-rust/discussions/1232

----
This is an automatically sent email for issues@iceberg.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@iceberg.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to