agavra commented on code in PR #10094:
URL: https://github.com/apache/pinot/pull/10094#discussion_r1080595360
##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/SortOperator.java:
##########
@@ -134,8 +150,10 @@ private void consumeInputBlocks() {
for (Object[] row : container) {
SelectionOperatorUtils.addToPriorityQueue(row, _rows,
_numRowsToKeep);
}
-
+ _operatorStats.endTimer();
block = _upstreamOperator.nextBlock();
+ _operatorStats.startTimer();
+ _operatorStats.recordInput(1, block.getNumRows());
Review Comment:
I noticed that in your output example `SORT` always reports zero input rows.
Any idea why that might be?
--
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]