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/02/03 09:51:00 UTC

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

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

Evgeny Stanilovsky updated IGNITE-18569:
----------------------------------------
    Labels: ignite-3  (was: calcite3-required 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
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)