[ 
https://issues.apache.org/jira/browse/IGNITE-18569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-18569:
-----------------------------------------
    Component/s:     (was: ignite-3)

> Sql. Some queries exceptionally executed if some rules are disabled.
> --------------------------------------------------------------------
>
>                 Key: IGNITE-18569
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18569
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 3.0.0-beta1
>            Reporter: Evgeny Stanilovsky
>            Priority: Major
>              Labels: calcite3-required
>
> 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.
> {noformat}
> 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)
> {noformat}
> {noformat}
>             //HashAggregateConverterRule.COLOCATED,
>             HashAggregateConverterRule.MAP_REDUCE,
>             //SortAggregateConverterRule.COLOCATED,
>             //SortAggregateConverterRule.MAP_REDUCE,
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to