61yao commented on code in PR #9832:
URL: https://github.com/apache/pinot/pull/9832#discussion_r1029748399


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/plan/ServerRequestPlanVisitor.java:
##########
@@ -90,6 +92,9 @@ public static ServerPlanRequestContext 
build(MailboxService<TransferableBlock> m
     PinotQuery pinotQuery = new PinotQuery();
     pinotQuery.setLimit(DEFAULT_LEAF_NODE_LIMIT);
     pinotQuery.setExplain(false);
+    pinotQuery.setQueryOptions(ImmutableMap.of(
+        
CommonConstants.Broker.Request.QueryOptionKey.SERVER_RETURN_FINAL_RESULT,

Review Comment:
   If we want to re-use the code, let's use a different config option that is 
invisible to user. 



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