FrankChen021 commented on code in PR #19235:
URL: https://github.com/apache/druid/pull/19235#discussion_r3173374415
##########
processing/src/main/java/org/apache/druid/query/ChainedExecutionQueryRunner.java:
##########
@@ -85,6 +88,13 @@ public Sequence<T> run(final QueryPlus<T> queryPlus, final
ResponseContext respo
final QueryContext context = query.context();
final boolean usePerSegmentTimeout = context.usePerSegmentTimeout();
final long perSegmentTimeout = context.getPerSegmentTimeout();
+ final int samplingWindow = context.getPerSegmentSamplingWindow();
+ final long queryStartNanos = System.nanoTime();
Review Comment:
Thanks, agreed. The current PR head still captures `queryStartNanos` in
`run()`, so moving it into `make()` immediately before the futures are
submitted/listeners are registered should address this by measuring only the
actual sequence consumption/execution window.
--
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]