Peter Toth created SPARK-28002:
----------------------------------

             Summary: Support WITH clause column aliases
                 Key: SPARK-28002
                 URL: https://issues.apache.org/jira/browse/SPARK-28002
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Peter Toth


PostgreSQL supports column aliasing in a CTE so this is valid query:
{noformat}
WITH t(x) AS (SELECT 1)
SELECT * FROM t WHERE x = 1{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to