LantaoJin commented on pull request #29062:
URL: https://github.com/apache/spark/pull/29062#issuecomment-662275382


   PS:
   ```scala
       val plan = With(
         Project(
           Seq(UnresolvedAttribute("cte.a")),
           UnresolvedRelation(TableIdentifier("cte"))
         ),
         Seq(
           (
             "cte",
             SubqueryAlias(
               AliasIdentifier("cte"),
               Project(testRelation.output, testRelation)
             )
           )
         )
       )
       assertAnalysisSuccess(plan)
   ```
   above test case without hint only works in v3.0.0. So the test case I given 
both fail in v3.0.0 and v2.4.6
   
https://github.com/apache/spark/blob/e361401596693557877d750d195c7555fa99cd7c/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/AnalysisSuite.scala#L899


----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to