Iurii Gerzhedovich created IGNITE-22199:
-------------------------------------------

             Summary: Sql. No validation for duplicates of CTE aliases
                 Key: IGNITE-22199
                 URL: https://issues.apache.org/jira/browse/IGNITE-22199
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Iurii Gerzhedovich


The query below contains two CTE with the same alias name and executed with no 
error, and returns a result for the last alias.
{code:java}
with CTE1 as (select 42), CTE1 as (select 43) select * FROM CTE1; {code}
For such a situation it should be thrown a validation error.



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

Reply via email to