dongjoon-hyun commented on a change in pull request #24842: [SPARK-28002][SQL]
Support WITH clause column aliases
URL: https://github.com/apache/spark/pull/24842#discussion_r293493872
##########
File path: sql/core/src/test/resources/sql-tests/inputs/cte.sql
##########
@@ -24,6 +24,10 @@ SELECT t1.id AS c1,
FROM CTE1 t1
CROSS JOIN CTE1 t2;
+-- CTE with column alias
+WITH t(x) AS (SELECT 1)
Review comment:
Yep. For the nested `WITH`, #24831 would be a better place to add them.
After merging this, let's proceed as @gatorsmile suggested, @peter-toth .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]