Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
We should add the possibility to transactionally check if a Table parameter is changed before altering the table in the HMS.
This would provide an alternative, less error-prone and faster way to commit an Iceberg table, as the Iceberg table currently needs to:
- Create an exclusive lock
- Get the table metadata to check if the current snapshot is not changed
- Update the table metadata
- Release the lock
After the change these 4 HMS calls could be substituted with a single alter table call.
Also we could avoid cases where the locks are left hanging by failed processes
Attachments
Issue Links
- is required by
-
IMPALA-12768 Set iceberg.engine.hive.lock-enabled To false By Default
- Open
- links to
(3 links to)