Aleksandr Efimov created IMPALA-15809:
-----------------------------------------
Summary: Support ACID metadata updates with Apache Hive 4
Key: IMPALA-15809
URL: https://issues.apache.org/jira/browse/IMPALA-15809
Project: IMPALA
Issue Type: Sub-task
Components: Catalog
Reporter: Aleksandr Efimov
Assignee: Aleksandr Efimov
With the proposed Apache Hive 4 profile, COMMIT_TXN is ignored and
transactional alter-table and alter-partition calls are unimplemented. The shim
also reads legacy writeId parameters and drops validWriteIds and writeId in
truncateTable().
For an insert-only transactional table, process the truncate ALTER event before
commit, then commit the transaction. Impala can keep returning old rows until
REFRESH. A later INSERT can fail with UnsupportedOperationException.
Use native write IDs and transaction-aware APIs, preserve truncate snapshots,
and handle COMMIT_TXN in both sequential and hierarchical event processing. Old
rows must remain visible before commit and after abort. Committed changes must
become visible without manual refresh. Also handle commits whose ALLOC_WRITE_ID
tracking was cleared by a catalog reset.
Target configurations: Apache Hive 4.1.0/Java 17 and 4.2.1/Java 21.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)