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

Iurii Gerzhedovich updated IGNITE-15995:
----------------------------------------
    Component/s: sql

> Calcite engine. Order by subquery containing WITH clause failed
> ---------------------------------------------------------------
>
>                 Key: IGNITE-15995
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15995
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Aleksey Plekhanov
>            Priority: Minor
>              Labels: calcite2-required, calcite3-required
>
> For example:
> {noformat}
> SELECT * FROM (SELECT 1) ORDER BY (WITH t AS (SELECT 1) SELECT * FROM t)
> {noformat}
> Fail with error:
> {noformat}
> Failed to validate query. org.apache.calcite.runtime.CalciteContextException: 
> At line 1, column 58: Column 'T' not found in any table
> {noformat}
> Related tests: {{test_correlated_subquery_cte.test_ignore}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to