Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/15146#discussion_r79408325 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/SubquerySuite.scala --- @@ -76,6 +76,23 @@ class SubquerySuite extends QueryTest with SharedSQLContext { ) } + test("define CTE in CTE subquery") { + checkAnswer( + sql("with t2 as (with t1 as (select 1 as b, 2 as c) select b, c from t1) " + --- End diff -- can we use multi-line string with proper ident here? this test is almost unreadable...
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org