dchvn commented on a change in pull request #35202:
URL: https://github.com/apache/spark/pull/35202#discussion_r791594078



##########
File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
##########
@@ -1235,7 +1235,7 @@ class HiveDDLSuite
     if (tableExists && !cascade) {
       assertAnalysisError(
         sqlDropDatabase,
-        s"Cannot drop a non-empty database: $dbName.")
+        s"Cannot drop a non-empty namespace: $dbName.")

Review comment:
       The above snippet calls `dropDatabase` in `HiveExternalCatalog`, 
throwing `QueryCompilationErrors.cannotDropNonemptyDatabaseError(db)`. This was 
included in [#PR 35007](https://github.com/apache/spark/pull/35007). @cloud-fan 
   




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