You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/26 02:08:45 UTC
[GitHub] [spark] Peng-Lei commented on a change in pull request #33339: [SPARK-36133][SQL] Add empty check for catalog name
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org