ulysses-you commented on a change in pull request #28840: URL: https://github.com/apache/spark/pull/28840#discussion_r442621427
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/LookupCatalog.scala ########## @@ -155,4 +155,37 @@ private[sql] trait LookupCatalog extends Logging { None } } + + /** + * Extract catalog and function identifier from a multi-part name with the current catalog if + * needed. + * + * Note that: function is only supported in v1 catalog. Review comment: The comment just aims to make the exception clear `throw new AnalysisException("Function command is only supported in v1 catalog")`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org