linhongliu-db commented on a change in pull request #31550:
URL: https://github.com/apache/spark/pull/31550#discussion_r578160941



##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -3943,6 +3943,43 @@ class SQLQuerySuite extends QueryTest with 
SharedSparkSession with AdaptiveSpark
       }
     }
   }
+
+  test("SPARK-34421: Resolve temporary functions and views in views with 
CTEs") {

Review comment:
       for the temp view, we should verify the view capture temp objects 
correctly, so you should also add a permanent view/function, table with the 
same name and see if "select * from temp_view" can return correct result




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