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

Evgeny Stanilovsky updated IGNITE-28899:
----------------------------------------
    Description: 
Need to fix calcite litmus errors raised during query like :


{noformat}
create table t11 (c1 int, c2 int, c3 int)
create table t22 (c1 int, c2 int, c3 int)
create index t11_idx on t11 (c3, c2, c1)
create index t22_idx on t22 (c3, c2, c1)
SELECT distinct p.c1 FROM t11 cd left join t22 p ON p.c2 = cd.c2 WHERE cd.c2 = 
1;
{noformat}

throws : 
{noformat}
input=RelSubset#2393,distribution=hash[2])] has lower cost IgniteCost 
[rowCount=6.15, cpu=15.15, memory=10.0, io=2.0, network=15.799999999999999] 
than best cost IgniteCost
{noformat}



  was:
Need to fix calcite litmus errors raised during query like :


{noformat}
create table t11 (c1 int, c2 int, c3 int)
create table t22 (c1 int, c2 int, c3 int)
create index t11_idx on t11 (c3, c2, c1)
create index t22_idx on t22 (c3, c2, c1)
SELECT distinct p.c1 FROM t11 cd left join t22 p ON p.c2 = cd.c2 WHERE cd.c2 = 
1;
{noformat}



> Calcite. Fix litmus error during join
> -------------------------------------
>
>                 Key: IGNITE-28899
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28899
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.18
>            Reporter: Evgeny Stanilovsky
>            Assignee: Evgeny Stanilovsky
>            Priority: Major
>              Labels: ignite-2, ise
>
> Need to fix calcite litmus errors raised during query like :
> {noformat}
> create table t11 (c1 int, c2 int, c3 int)
> create table t22 (c1 int, c2 int, c3 int)
> create index t11_idx on t11 (c3, c2, c1)
> create index t22_idx on t22 (c3, c2, c1)
> SELECT distinct p.c1 FROM t11 cd left join t22 p ON p.c2 = cd.c2 WHERE cd.c2 
> = 1;
> {noformat}
> throws : 
> {noformat}
> input=RelSubset#2393,distribution=hash[2])] has lower cost IgniteCost 
> [rowCount=6.15, cpu=15.15, memory=10.0, io=2.0, network=15.799999999999999] 
> than best cost IgniteCost
> {noformat}



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

Reply via email to