Zoltan Borok-Nagy has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21258 )

Change subject: IMPALA-12810: Simplify IcebergDeleteNode and 
IcebergDeleteBuilder
......................................................................


Patch Set 8:

(5 comments)

Thanks for the comments!

http://gerrit.cloudera.org:8080/#/c/21258/7/be/src/exec/iceberg-delete-builder.cc
File be/src/exec/iceberg-delete-builder.cc:

http://gerrit.cloudera.org:8080/#/c/21258/7/be/src/exec/iceberg-delete-builder.cc@283
PS7, Line 283:           ErrorMsg(TErrorCode::GENERAL, "NULL found as file_path 
in delete file"));
> Can't we return or continue here?
Sure, we can continue


http://gerrit.cloudera.org:8080/#/c/21258/7/be/src/runtime/krpc-data-stream-sender.cc
File be/src/runtime/krpc-data-stream-sender.cc:

http://gerrit.cloudera.org:8080/#/c/21258/7/be/src/runtime/krpc-data-stream-sender.cc@1111
PS7, Line 1111:             (filename_value_ss.len == 0 && 
prev_channels.empty()));
> This is triggered when there is 2 consecutive rows in the delete file where
Yes, we have a delete file with only three NULLs


http://gerrit.cloudera.org:8080/#/c/21258/7/be/src/runtime/krpc-data-stream-sender.cc@1125
PS7, Line 1125: Or
> Nit: something like "A third case is..." would be nicer.
I can change it if you feel strong about it, but I think concise and simple 
phrasing is preferable in comments.


http://gerrit.cloudera.org:8080/#/c/21258/7/testdata/datasets/functional/functional_schema_template.sql
File testdata/datasets/functional/functional_schema_template.sql:

http://gerrit.cloudera.org:8080/#/c/21258/7/testdata/datasets/functional/functional_schema_template.sql@3957
PS7, Line 3957: iceberg_v2_null_delete_record
> Could you add some details about this table to the README? Would be nice to
Done


http://gerrit.cloudera.org:8080/#/c/21258/7/tests/query_test/test_iceberg.py
File tests/query_test/test_iceberg.py:

http://gerrit.cloudera.org:8080/#/c/21258/7/tests/query_test/test_iceberg.py@1455
PS7, Line 1455:     if 
vector.get_value('exec_option')['disable_optimized_iceberg_v2_read'] == 0:
> Would it make sense to test where we have DIRECTED mode to see that the Krp
We only test DIRECTED mode + V2 operator (which go in hand with each other).

When 'disable_optimized_iceberg_v2_read' is true, we fallback to the old anti 
hash join which doesn't validate the delete records.



--
To view, visit http://gerrit.cloudera.org:8080/21258
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3ba02b33433990950b49628f11e732e01ed8a34d
Gerrit-Change-Number: 21258
Gerrit-PatchSet: 8
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabor Kaszab <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 10 Apr 2024 13:08:22 +0000
Gerrit-HasComments: Yes

Reply via email to