shauryachats commented on code in PR #18475:
URL: https://github.com/apache/pinot/pull/18475#discussion_r3376839871
##########
pinot-core/src/main/java/org/apache/pinot/core/operator/query/FilteredGroupByOperator.java:
##########
@@ -160,6 +161,12 @@ protected GroupByResultsBlock getNextBlock() {
}
_numDocsScanned += numDocsScanned;
+ QueryScanCostContext scanCost = getScanCostContext();
+ if (scanCost != null) {
+ scanCost.addDocsScanned(numDocsScanned);
+ scanCost.addEntriesScannedPostFilter(
+ (long) numDocsScanned * projectOperator.getNumColumnsProjected());
Review Comment:
Any particular reason we are not adding `getNumEntriesScannedInFilter` here?
--
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]