Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-beta1
-
None
Description
Found that if only one aggregate rule HashAggregateConverterRule.COLOCATED become available (in practice it can win by summary weights), we obtain exception, like :
concrete this test can be found in /sqlite/aggregates/agg1.test.
There are also numerous faled tests if only one aggregate rule become enabled.
Error at: (agg1.test_slow:113). sql: SELECT DISTINCT + 30 AS col0 FROM tab0, tab1 AS cor0 Caused by: java.lang.IllegalStateException at org.apache.ignite.internal.sql.engine.trait.DistributionFunction$SingletonDistribution.destination(DistributionFunction.java:205) at org.apache.ignite.internal.sql.engine.trait.DistributionTrait.destination(DistributionTrait.java:109) at org.apache.ignite.internal.sql.engine.exec.LogicalRelImplementor.visit(LogicalRelImplementor.java:161)
//HashAggregateConverterRule.COLOCATED, HashAggregateConverterRule.MAP_REDUCE, //SortAggregateConverterRule.COLOCATED, //SortAggregateConverterRule.MAP_REDUCE,