MaxGekk commented on a change in pull request #31422:
URL: https://github.com/apache/spark/pull/31422#discussion_r568882112



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewSuite.scala
##########
@@ -167,6 +167,12 @@ abstract class SQLViewSuite extends QueryTest with 
SQLTestUtils {
       assertAnalysisError(
         s"ALTER TABLE $viewName DROP PARTITION (a='4', b='8')",
         s"$viewName is a temp view. 'ALTER TABLE ... DROP PARTITION ...' 
expects a table")
+      assertAnalysisError(
+        s"ALTER TABLE $viewName SET TBLPROPERTIES ('p' = 'an')",
+        s"$viewName is a temp view. 'ALTER TABLE ... SET TBLPROPERTIES' 
expects a table")
+      assertAnalysisError(

Review comment:
       And I guess to `HiveDDLSuite` too, right? I just wonder if we test v2 
and v1 Hive external catalog, should we test v1 In-Memory catalog in that case?




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