weixiangsun commented on a change in pull request #7781:
URL: https://github.com/apache/pinot/pull/7781#discussion_r752443884



##########
File path: 
pinot-core/src/test/java/org/apache/pinot/queries/BaseQueriesTest.java
##########
@@ -223,8 +223,11 @@ private BrokerResponseNative 
getBrokerResponse(QueryContext queryContext, PlanMa
       byte[] serializedResponse = instanceResponse.toBytes();
       dataTableMap.put(new ServerRoutingInstance("localhost", 1234, 
TableType.OFFLINE),
           DataTableFactory.getDataTable(serializedResponse));
-      dataTableMap.put(new ServerRoutingInstance("localhost", 1234, 
TableType.REALTIME),
-          DataTableFactory.getDataTable(serializedResponse));
+      // skip creating the realtime table for gapfill test case.
+      if (!queryContext.isAggregateGapfill()) {

Review comment:
       Do you mean sqlQuery will not hit the realtime table, right? How about 
pqlQuery? It seems that pqlQuery will query both tables. 




-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to