You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ermakov (Jira)" <ji...@apache.org> on 2021/09/24 08:08:00 UTC

[jira] [Assigned] (IGNITE-14356) Regression when using derived table in LEFT JOIN

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

Vladimir Ermakov reassigned IGNITE-14356:
-----------------------------------------

    Assignee: Vladimir Ermakov

> Regression when using derived table in LEFT JOIN
> ------------------------------------------------
>
>                 Key: IGNITE-14356
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14356
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.10
>            Reporter: Lukas Eder
>            Assignee: Vladimir Ermakov
>            Priority: Major
>
> This used to work in 2.9.1 and no longer does in 2.10.0:
>  
> {code:java}
> CREATE TABLE t (i int PRIMARY KEY, j int);
> INSERT INTO t VALUES (1, 1);
> SELECT * 
> FROM t AS t1
> LEFT JOIN (SELECT * FROM t WHERE false) AS t2
> ON t1.i = t2.i
> {code}
>  
> It should result in 1 row as the LEFT JOIN should have no effect, but the result set is empty as if t2 were inner joined.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)