Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full transaction support for Iceberg? #15385

Open
jiron12 opened this issue Dec 13, 2022 · 2 comments
Open

Full transaction support for Iceberg? #15385

jiron12 opened this issue Dec 13, 2022 · 2 comments
Labels
iceberg Iceberg connector

Comments

@jiron12
Copy link

jiron12 commented Dec 13, 2022

Is full transaction support for Iceberg on the roadmap?

What I tried (SQL):

START TRANSACTION;

insert into my_trino_schema.my_table
select 43, 'hello world 2', 12.12;

insert into my_trino_schema.my_table2
select 43, 'hello end of the world', 42.42 / 0; -- <-- division by zero, leading to rollback

COMMIT WORK;

What I got (Error message):
SQL Error [25]: Query failed (#20221213_145826_00039_it4nx): Catalog only supports writes using autocommit: iceberg

Probably I'm naive here, but with time travelling already supported in Iceberg, this might not be a huge thing? Coming from the traditional SQL Systems, this is still missing.

I put this question to iceberg first, as I thought they had to change something on their side:
apache/iceberg#6418

@findepi
Copy link
Member

findepi commented Dec 14, 2022

Is full transaction support for Iceberg on the roadmap?

it's not

we would rather remove transaction support altogether, since it's pretty complex code to maintain and it's not correct even for the only connector which claims transaction support

see eg #11769 (comment)

@jiron12
Copy link
Author

jiron12 commented Mar 5, 2023

Looks like Iceberg is about to support multi-table transactions:
apache/iceberg#6948

@xkrogen xkrogen added the iceberg Iceberg connector label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iceberg Iceberg connector
Development

No branches or pull requests

3 participants