alex-plekhanov commented on code in PR #10390:
URL: https://github.com/apache/ignite/pull/10390#discussion_r1042544883
##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/AggregatesIntegrationTest.java:
##########
@@ -108,6 +108,26 @@ public void testCountWithBackupsAndCacheModes() {
assertQuery("select count(*) from person").returns(7L).check();
}
+ /** */
+ @Test
+ public void testCountIndexedField() {
+ createAndPopulateIndexedTable(1, CacheMode.PARTITIONED);
+ assertQuery("select count(distinct descVal) from
person").returns(3L).check();
Review Comment:
FIxed
--
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]