Aleksandr Efimov created IMPALA-15309:
-----------------------------------------
Summary: Verify the Iceberg table UUID before applying a DML
operation
Key: IMPALA-15309
URL: https://issues.apache.org/jira/browse/IMPALA-15309
Project: IMPALA
Issue Type: Sub-task
Components: Frontend, Catalog
Reporter: Aleksandr Efimov
Assignee: Aleksandr Efimov
A DML request identifies its target table by name. If the table is dropped and
recreated under the same name between planning and finalization, the request is
applied to the new table.
Record the Iceberg table UUID during planning in TIcebergDmlFinalizeParams and
compare it against the loaded table before the operation is applied. The field
is optional, so a coordinator that does not send it keeps working during a
rolling upgrade. CTAS targets have no Iceberg API table at planning time, and
Table implementations that do not implement uuid() leave the field unset; both
keep their current behavior.
Prerequisite for INSERT INTO on REST catalog tables.
Review: https://gerrit.cloudera.org/#/c/24735/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]