Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
For example:
SELECT * FROM (SELECT 1) ORDER BY (WITH t AS (SELECT 1) SELECT * FROM t)
Fail with error:
Failed to validate query. org.apache.calcite.runtime.CalciteContextException: At line 1, column 58: Column 'T' not found in any table
Related tests: test_correlated_subquery_cte.test_ignore
Attachments
Issue Links
- Dependency
-
CALCITE-4926 'ORDER BY' misses alias/table of own 'WITH'
- Open
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- Testing discovered
-
IGNITE-21949 Cover SQL T122(WITH (excluding RECURSIVE) in subquery) feature by tests
- Resolved