jihoonson commented on a change in pull request #5471: Implement force push 
down for nested group by query
URL: https://github.com/apache/incubator-druid/pull/5471#discussion_r204902208
 
 

 ##########
 File path: server/src/main/java/io/druid/client/CachingClusteredClient.java
 ##########
 @@ -235,6 +237,9 @@ public CachingClusteredClient(
       // and might blow up in some cases 
https://github.com/druid-io/druid/issues/2108
       this.uncoveredIntervalsLimit = 
QueryContexts.getUncoveredIntervalsLimit(query);
       this.downstreamQuery = 
query.withOverriddenContext(makeDownstreamQueryContext());
+      this.intervals = query instanceof BaseQuery
+                                        ? BaseQuery.getIntervals((BaseQuery) 
query)
+                                        : query.getIntervals();
 
 Review comment:
   formatting:
   
   ```java
         this.intervals = query instanceof BaseQuery ?
                          BaseQuery.getIntervals((BaseQuery) query) :
                          query.getIntervals();
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to