You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Lukas Eder (Jira)" <ji...@apache.org> on 2021/03/19 13:41:00 UTC
[jira] [Closed] (IGNITE-14357) Regression when using derived table
in LEFT JOIN
[ https://issues.apache.org/jira/browse/IGNITE-14357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Eder closed IGNITE-14357.
-------------------------------
> 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
> 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)