ggangadharan commented on PR #7000:
URL: https://github.com/apache/hive/pull/7000#issuecomment-7413131055

   > A clarification on the v3 case in my review: the `ValidationException: 
Can't index multiple DVs for file ...` doesn't come from a commit. Without this 
PR, both the UPDATE and the DELETE commit, each with a deletion vector for the 
same data file. The exception comes from the next query that reads that file 
(the `SELECT` in the test), while it plans its splits. So it isn't a conflict 
that Iceberg detected: the table now has two deletion vectors for one data 
file, and every scan that includes that file fails until the table is repaired. 
With this PR, the DELETE's commit fails with `Found conflicting files ...`, 
only the UPDATE's deletion vector is committed, and the table stays readable.
   
   Thanks for the clarification. The description now describes the v3 case that 
way. Without this PR both commits succeed, and the next read that plans that 
data file fails with `ValidationException: Can't index multiple DVs for file 
...`. With it, the DELETE's commit fails, only the UPDATE's deletion vector is 
committed, and the table stays readable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to