Peng-Lei commented on a change in pull request #33339:
URL: https://github.com/apache/spark/pull/33339#discussion_r696234271



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala
##########
@@ -555,6 +555,11 @@ private[spark] object QueryCompilationErrors {
       "Valid names only contain alphabet characters, numbers and _.")
   }
 
+  def invalidNameForCatalogError(name: String): Throwable = {
+    new AnalysisException(s"`$name` is not a valid name for catalog. " +
+      "Valid names can not be empty string or contains all spaces.")

Review comment:
       done




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