Jason Fehr has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24118 )

Change subject: IMPALA-14843: Show cancelled nodes in ExecSummary
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24118/3/be/src/runtime/fragment-instance-state.cc
File be/src/runtime/fragment-instance-state.cc:

http://gerrit.cloudera.org:8080/#/c/24118/3/be/src/runtime/fragment-instance-state.cc@365
PS3, Line 365:             profile != nullptr && 
RuntimeProfile::HasLastBatchReturned(profile);
I'm generally not in favor of relying on the profile having certain entries 
(sometimes this is the only way though).

What about adding a `bool last_batch_returned` to the `ExecNode` class.  Then, 
the `ScopedGetNextEventAdder` destructor (exec-node-util.h) sets this new 
boolean.  Finally, this code reads the new boolean from its `exec_tree_` 
variable.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibd1bf51112e7c8c5609bb9e9525d960efc524215
Gerrit-Change-Number: 24118
Gerrit-PatchSet: 3
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Daniel Vanko <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Surya Hebbar <[email protected]>
Gerrit-Comment-Date: Wed, 25 Mar 2026 23:00:18 +0000
Gerrit-HasComments: Yes

Reply via email to