Zoltán Borók-Nagy created IMPALA-15801:
------------------------------------------
Summary: Reject duplicate deletion vectors for the same data file
before committing
Key: IMPALA-15801
URL: https://issues.apache.org/jira/browse/IMPALA-15801
Project: IMPALA
Issue Type: Improvement
Components: Catalog
Reporter: Zoltán Borók-Nagy
IcebergCatalogOpExecutor.applyDeletionVectors() doesn't check that each data
file gets at most
one deletion vector (DV) per commit. That is the invariant IMPALA-15085 relies
on.
Since Iceberg 1.11, duplicate DVs added in the same commit are merged silently:
catalogd only
logs a WARN, and the original DV blobs are left as orphan files. On master the
merge currently
fails, because RoaringBitmap isn't on the classpath. After IMPALA-15790 adds
it, a regression
like the one fixed in IMPALA-15085 would go unnoticed.
Fix: throw ImpalaRuntimeException when two added DVs reference the same data
file, and add a
frontend test.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)