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 2021/09/27 06:42:00 UTC

[jira] [Created] (IGNITE-15604) Caclite. Unexpected result in correlated scalar select with constant in projection.

Evgeny Stanilovsky created IGNITE-15604:
-------------------------------------------

             Summary: Caclite. Unexpected result  in correlated scalar select with constant in projection.
                 Key: IGNITE-15604
                 URL: https://issues.apache.org/jira/browse/IGNITE-15604
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Evgeny Stanilovsky



{noformat}
statement ok
CREATE TABLE integers(i INTEGER)

statement ok
INSERT INTO integers VALUES (1), (2), (3), (NULL)

query II
SELECT i, (SELECT 42 FROM integers WHERE i=i1.i) AS j FROM integers i1 ORDER BY i NULLS FIRST;
----
NULL	NULL
1	42
2	42
3	42
{noformat}


{noformat}
/subquery/scalar/test_correlated_subquery.test[_ignore]
{noformat}


checked with mysql, all ok there.




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