kaijianding commented on a change in pull request #11379:
URL: https://github.com/apache/druid/pull/11379#discussion_r662777938
##########
File path:
processing/src/main/java/org/apache/druid/query/groupby/orderby/DefaultLimitSpec.java
##########
@@ -220,6 +221,15 @@ public boolean isLimited()
sortingNeeded = !query.getGranularity().equals(Granularities.ALL) &&
query.getContextSortByDimsFirst();
}
+ if (!sortingNeeded) {
+ Map<String, Object> timestampFieldContext =
GroupByQueryHelper.findTimestampResultField(query);
Review comment:
The whole timestampResult optimization doesn't affect the original query
context now, the modification to `DruidQuery `has been withdraw, currently only
`GroupByStrategyV2` is actually modified.
--
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]