[
https://issues.apache.org/jira/browse/IGNITE-15604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Iurii Gerzhedovich resolved IGNITE-15604.
-----------------------------------------
Resolution: Cannot Reproduce
> 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
> Priority: Major
> Labels: calcite, calcite2-required, calcite3-required, ignite-3
>
> {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.20.10#820010)