[jira] [Created] (IGNITE-14357) Regression when using derived table in LEFT JOIN

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-14357) Regression when using derived table in LEFT JOIN

Anton Vinogradov (Jira)
Lukas Eder created IGNITE-14357:
-----------------------------------

             Summary: Regression when using derived table in LEFT JOIN
                 Key: IGNITE-14357
                 URL: https://issues.apache.org/jira/browse/IGNITE-14357
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.10
            Reporter: Lukas Eder


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)