FrankChen021 commented on code in PR #20555:
URL: https://github.com/apache/druid/pull/20555#discussion_r4241665717


##########
processing/src/main/java/org/apache/druid/query/timeseries/TimeseriesQuery.java:
##########
@@ -179,7 +179,7 @@ public String getTimestampResultField()
 
   public boolean isSkipEmptyBuckets()
   {
-    return context().getBoolean(SKIP_EMPTY_BUCKETS, false);
+    return context().getOrDefault(QueryContextParameters.SKIP_EMPTY_BUCKETS);

Review Comment:
   this is acceptable as TimeseriesQuery is neither annoated with PublicApi nor 
annotated with ExtensionPoint.



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