Does iceberg have a plan to support Multi-Statement and Multi-Table Transactions ?
This should be possible, but as far as I know, no processing engines support it. Until then, it doesn't make much sense to worry about it for Iceberg.
Why does it relate with processing engines?
The primary way to work with Iceberg tables is through a processing engine like Presto or Spark. Without cross-table transaction support in those, there would be no way to use it besides going directly to the API.
I think this might be a useful feature. Suppose I want to atomically add columns to two iceberg tables, is there a way to do this with current API?
@lirui-apache : Currently, With the Nessie catalog it is possible to achieve multi-table transactions via branching and merging. https://projectnessie.org/features/transactions/#cross-table-transactions
Recently, the community is working on Catalog level transactions to support multi-table transactions https://github.com/apache/iceberg/pull/6948
@ajantha-bhat thanks for the pointers. Our metadata is stored in HMS and I don't think we can migrate off any time soon. I'm not sure if this can be achieved with HiveCatalog, since IIRC the HMS doesn't support altering multi tables in a single transaction.
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
Status can be tracked from https://github.com/apache/iceberg/projects/30
Hi @rdblue , Is there any engine starts supporting Multi-Table transactions?