trinodb/trino

Classify Iceberg CommitFailedException as TRANSACTION_CONFLICT

Open

#16,770 opened on Mar 29, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (2,678 forks)batch import
good first issue

Repository metrics

Stars
 (9,113 stars)
PR merge metrics
 (Avg merge 5d 9h) (306 merged PRs in 30d)

Description

All the places that call Iceberg Transaction.commitTransaction() need to be wrapped to rethrow as TrinoException.

Example error: https://github.com/trinodb/trino/issues/16762

Contributor guide