cloud-fan commented on code in PR #42917:
URL: https://github.com/apache/spark/pull/42917#discussion_r1328263710


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -860,6 +860,16 @@
       "Exceeds char/varchar type length limitation: <limit>."
     ]
   },
+  "EXPECT_TABLE_NOT_VIEW" : {
+    "message" : [
+      "The view <viewName> does not support <operation>, Please use ALTER VIEW 
instead."

Review Comment:
   We can add more sub error clasess when some commands start to have 
alternative commands for views.



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