You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2023/01/18 09:45:00 UTC

[jira] [Created] (IGNITE-18569) Sql. Some queries exceptionally executed if some rules are disabled.

Evgeny Stanilovsky created IGNITE-18569:
-------------------------------------------

             Summary: 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


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)