itholic commented on code in PR #41504:
URL: https://github.com/apache/spark/pull/41504#discussion_r1233952062


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala:
##########
@@ -728,8 +728,8 @@ class PersistedViewTestSuite extends SQLViewTestSuite with 
SharedSparkSession {
         exception = intercept[AnalysisException] {
           sql("SELECT * FROM v")
         },
-        errorClass = "_LEGACY_ERROR_TEMP_1333",
-        parameters = Map("viewText" -> "DROP VIEW v", "tableName" -> 
"spark_catalog.default.v")
+        errorClass = "INVALID_VIEW_TEXT",
+        parameters = Map("viewText" -> "DROP VIEW v", "viewName" -> 
"spark_catalog.default.v")

Review Comment:
   I see. Let me update the code. Thanks!



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

To unsubscribe, e-mail: [email protected]

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