xiangfu0 commented on code in PR #10685:
URL: https://github.com/apache/pinot/pull/10685#discussion_r1177403675


##########
pinot-query-runtime/src/test/java/org/apache/pinot/query/runtime/queries/ResourceBasedQueriesTest.java:
##########
@@ -375,9 +375,13 @@ private static Object[][] 
testResourceQueryTestCaseProviderWithMetadata()
               : replaceTableName(testCaseName, queryCase._sql);
 
           int segmentCount = 0;
-          for (String tableName : testCaseEntry.getValue()._tables.keySet()) {
-            segmentCount +=
-                _tableToSegmentMap.getOrDefault(testCaseName + "_" + tableName 
+ "_OFFLINE", new HashSet<>()).size();
+          if (queryCase._expectedNumSegments != null) {

Review Comment:
   The thing is that this query has two joins so one table is scanned twice.
   



-- 
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]

Reply via email to