walterddr commented on code in PR #10626:
URL: https://github.com/apache/pinot/pull/10626#discussion_r1169444684
##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/plan/ServerRequestPlanVisitor.java:
##########
@@ -126,8 +126,7 @@ public static ServerPlanRequestContext
build(MailboxService<TransferableBlock> m
QUERY_OPTIMIZER.optimize(pinotQuery, tableConfig, schema);
// 2. set pinot query options according to requestMetadataMap
- pinotQuery.setQueryOptions(
-
ImmutableMap.of(CommonConstants.Broker.Request.QueryOptionKey.TIMEOUT_MS,
String.valueOf(timeoutMs)));
+ updateQueryOptions(pinotQuery, requestMetadataMap, timeoutMs,
traceEnabled);
Review Comment:
stage-based query options are also added. they are merged into
requestMetadataMap during dispatch.
--
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]