[GitHub] [spark] wangyum commented on a change in pull request #32442: [SPARK-35283][SQL] Support query some DDL with CTES

2021-05-09 Thread GitBox
wangyum commented on a change in pull request #32442: URL: https://github.com/apache/spark/pull/32442#discussion_r628976181 ## File path: sql/core/src/test/resources/sql-tests/inputs/cte-ddl.sql ## @@ -0,0 +1,65 @@ +-- Test data. +CREATE NAMESPACE IF NOT EXISTS query_ddl_namesp

[GitHub] [spark] wangyum commented on a change in pull request #32442: [SPARK-35283][SQL] Support query some DDL with CTES

2021-05-09 Thread GitBox
wangyum commented on a change in pull request #32442: URL: https://github.com/apache/spark/pull/32442#discussion_r628980328 ## File path: sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ## @@ -375,8 +363,18 @@ ctes : WITH namedQuery (',' named

[GitHub] [spark] wangyum commented on a change in pull request #32442: [SPARK-35283][SQL] Support query some DDL with CTES

2021-05-09 Thread GitBox
wangyum commented on a change in pull request #32442: URL: https://github.com/apache/spark/pull/32442#discussion_r628987144 ## File path: sql/core/src/test/resources/sql-tests/inputs/cte-ddl.sql ## @@ -0,0 +1,65 @@ +-- Test data. +CREATE NAMESPACE IF NOT EXISTS query_ddl_namesp