deniskuzZ commented on code in PR #5961: URL: https://github.com/apache/hive/pull/5961#discussion_r2223063633
########## iceberg/iceberg-handler/src/test/queries/positive/iceberg_v3_deletion_vectors.q: ########## @@ -0,0 +1,75 @@ +-- Mask random uuid +--! qt:replace:/(\s+'uuid'=')\S+('\s*)/$1#Masked#$2/ +-- Mask a random snapshot id +--! qt:replace:/(\s\'current-snapshot-id\'=\')(\d+)(\')/$1#Masked#$3/ +-- Mask added file size +--! qt:replace:/(\S+\"added-files-size\":\")(\d+)(\")/$1#Masked#$3/ +-- Mask total file size +--! qt:replace:/(\S+\"total-files-size\":\")(\d+)(\")/$1#Masked#$3/ +-- Mask current-snapshot-timestamp-ms +--! qt:replace:/(\s\'current-snapshot-timestamp-ms\'=\')(\d+)(\')/$1#Masked#$3/ +-- Mask iceberg version +--! qt:replace:/("iceberg-version":")(\w+\s\w+\s\d+\.\d+\.\d+\s\(\w+\s\w+\))/$1#Masked#/ + +-- create an unpartitioned table + create table ice01 (id int) Stored by Iceberg stored as ORC + TBLPROPERTIES('format-version'='3'); + +-- check the property value +show create table ice01; + +-- insert some values +insert into ice01 values (1),(2),(3),(4); + +-- check the inserted values +select * from ice01; + +-- delete some values +delete from ice01 where id>2; + +-- check the values, the delete value should be there +select * from ice01 order by id; + +-- insert some more data + insert into ice01 values (5),(6),(7),(8); + +-- check the values, only the delete value shouldn't be there +select * from ice01 order by id; + +-- delete one value +delete from ice01 where id=7; + +-- check the entries, the deleted entries shouldn't be there. +select * from ice01 order by id; Review Comment: @SourabhBadhya, wdym? select doesn't return the deleted rows -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org