Joe McDonnell has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18929 )

Change subject: IMPALA-11539: Mitigate intra-node skew of file scans with MT_DOP
......................................................................


Patch Set 5: Code-Review+1

(1 comment)

This makes sense to me.

I don't think this would have an impact on data caching except in pretty 
extreme cases. It's possible that we could get smarter with this logic in 
future, but this seems like an improvement on its own.

We are moving from O(1) to O(log(N)), but that doesn't seem like a big problem 
for this data structure. Other costs should dwarf the cost of accessing this 
structure.

http://gerrit.cloudera.org:8080/#/c/18929/5/be/src/exec/scan-range-queue-mt.h
File be/src/exec/scan-range-queue-mt.h:

http://gerrit.cloudera.org:8080/#/c/18929/5/be/src/exec/scan-range-queue-mt.h@37
PS5, Line 37: class ScanRangeQueueMt {
Nit: Maybe add DISALLOW_COPY_AND_ASSIGN



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib7dc1f1665565da6c0e155c1e585f7089b18a180
Gerrit-Change-Number: 18929
Gerrit-PatchSet: 5
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Gergely Fürnstáhl <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Thu, 01 Sep 2022 19:28:12 +0000
Gerrit-HasComments: Yes

Reply via email to