MaxGekk commented on code in PR #41721:
URL: https://github.com/apache/spark/pull/41721#discussion_r1243508086


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -2383,11 +2383,21 @@
           "Combination of ORDER BY/SORT BY/DISTRIBUTE BY/CLUSTER BY."
         ]
       },
+      "COMMENT_NAMESPACE" : {
+        "message" : [
+          "Attach a comment to the namespace <namespace>."
+        ]
+      },
       "DESC_TABLE_COLUMN_PARTITION" : {
         "message" : [
           "DESC TABLE COLUMN for a specific partition."
         ]
       },
+      "DROP_NAMESPACE_RESTRICT" : {

Review Comment:
   Just `DROP_NAMESPACE` is enough



##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MySQLDialect.scala:
##########
@@ -296,7 +296,7 @@ private case object MySQLDialect extends JdbcDialect with 
SQLConfHelper {
     if (cascade) {
       s"DROP SCHEMA ${quoteIdentifier(schema)}"
     } else {
-      throw QueryExecutionErrors.unsupportedDropNamespaceRestrictError()
+      throw QueryExecutionErrors.unsupportedDropNamespaceRestrictError(schema)

Review Comment:
   The word `Restrict` can be omitted.



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