cecemei commented on code in PR #18215:
URL: https://github.com/apache/druid/pull/18215#discussion_r2193592824
##########
processing/src/test/java/org/apache/druid/segment/CursorFactoryProjectionTest.java:
##########
@@ -1102,6 +1102,61 @@ public void
testQueryGranularityFitsProjectionGranularity()
}
}
+ @Test
+ public void testQueryGranularityLargerProjectionGranularity()
+ {
+ final GroupByQuery.Builder queryBuilder =
+ GroupByQuery.builder()
+ .setDataSource("test")
+ .setInterval(Intervals.ETERNITY)
+ .addAggregator(new LongSumAggregatorFactory("c_sum", "c"));
+ if (sortByDim) {
Review Comment:
i thought this meant query has a sortBy at first, but i guess here's just we
want to test out time as granularity & virtual column? might worth some
comments.
--
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]