walterddr commented on code in PR #9957:
URL: https://github.com/apache/pinot/pull/9957#discussion_r1071450037


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/service/QueryDispatcher.java:
##########
@@ -89,7 +89,9 @@ public int submit(long requestId, QueryPlan queryPlan, long 
timeoutMs)
           Worker.QueryResponse response = 
client.submit(Worker.QueryRequest.newBuilder().setStagePlan(
                   
QueryPlanSerDeUtils.serialize(constructDistributedStagePlan(queryPlan, stageId, 
serverInstance)))
               .putMetadata(QueryConfig.KEY_OF_BROKER_REQUEST_ID, 
String.valueOf(requestId))
-              .putMetadata(QueryConfig.KEY_OF_BROKER_REQUEST_TIMEOUT_MS, 
String.valueOf(timeoutMs)).build());
+              .putMetadata(QueryConfig.KEY_OF_BROKER_REQUEST_TIMEOUT_MS, 
String.valueOf(timeoutMs))
+              .putAllMetadata(queryOptions).build());

Review Comment:
   on a 2nd thought i agree we should allow passing everything. current V1 
engine also doesn't limit the KEY options. we can add if we saw issues in the 
future



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