You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/05/02 15:47:55 UTC

[GitHub] [druid] suneet-s commented on a diff in pull request #12484: Pass metrics object for Scan, Timeseries and GroupBy queries during cursor creation

suneet-s commented on code in PR #12484:
URL: https://github.com/apache/druid/pull/12484#discussion_r862961989


##########
extensions-contrib/distinctcount/src/test/java/org/apache/druid/query/aggregation/distinctcount/DistinctCountTimeseriesQueryTest.java:
##########
@@ -100,7 +101,7 @@ public void testTimeseriesWithDistinctCountAgg() throws Exception
                                   .build();
 
     final Iterable<Result<TimeseriesResultValue>> results =
-        engine.process(query, new IncrementalIndexStorageAdapter(index)).toList();
+        engine.process(query, new IncrementalIndexStorageAdapter(index), new DefaultTimeseriesQueryMetrics()).toList();

Review Comment:
   nit: Can you verify returned by calling `engine.process(..)`



-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org