Daniel Becker has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21435 )

Change subject: IMPALA-13088: (part 1) Improve build batch processing of 
IcebergDeleteBuilder
......................................................................


Patch Set 3:

(9 comments)

http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.h
File be/src/exec/iceberg-delete-builder.h:

http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.h@70
PS3, Line 70: d
Nit: this should be "Processes".


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.h@121
PS3, Line 121: The newly added vectors have double capacity so we don't end up 
having
             :   // too many vectors
Could you clarify this? Is it about 'intermediate_delete_rows_' in addition to 
the final map, or the embedded vectors?


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.h@149
PS3, Line 149: &
We usually take non-const (output) arguments by pointer.


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

http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@184
PS3, Line 184: auto
I think using the actual type (IntermediateDeleteRowVector&) is more readable.


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@242
PS3, Line 242: auto
I think using the actual type (IntermediateDeleteRowVector&) is more readable.


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@250
PS3, Line 250: auto
I think using the actual type (vector<int64_t>) is more readable. Also L252.


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@296
PS3, Line 296: auto
I think using the actual type (vector<int64_t>) is more readable. Also L306.


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@319
PS3, Line 319: StringValue*
Can we take it by const ref?


http://gerrit.cloudera.org:8080/#/c/21435/3/be/src/exec/iceberg-delete-builder.cc@327
PS3, Line 327: }
Can it happen that (*path) is not a key in 'intermediate_delete_rows_' but 
path->Len() != 0? If not, we could add DCHECK(false) in a following ELSE 
branch, with an explaining comment.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I14541a064a522d4780fb5f02636736259e79b9cf
Gerrit-Change-Number: 21435
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <gaborkas...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>
Gerrit-Comment-Date: Fri, 14 Jun 2024 16:37:40 +0000
Gerrit-HasComments: Yes

Reply via email to