agavra commented on code in PR #9933:
URL: https://github.com/apache/pinot/pull/9933#discussion_r1042517509
##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/executor/OpChainSchedulerService.java:
##########
@@ -78,29 +78,35 @@ protected void run()
}
OpChain operatorChain = _scheduler.next();
+ LOGGER.trace("({}): Scheduling", operatorChain);
_workerPool.submit(new TraceRunnable() {
@Override
public void runJob() {
try {
- ThreadResourceUsageProvider timer =
operatorChain.getAndStartTimer();
+ LOGGER.trace("({}): Executing", operatorChain);
+ operatorChain.getStats().executing();
// so long as there's work to be done, keep getting the next
block
// when the operator chain returns a NOOP block, then yield the
execution
// of this to another worker
TransferableBlock result = operatorChain.getRoot().nextBlock();
while (!result.isNoOpBlock() && !result.isEndOfStreamBlock()) {
- LOGGER.debug("Got block with {} rows.", result.getNumRows());
Review Comment:
I removed this because it always returns `0` - `MailboxSendOperator` either
returns `No-op` or `EOS`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]