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 2019/12/11 06:33:11 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #26840: [SPARK-30038][SQL] DESCRIBE FUNCTION should do multi-catalog resolution

dongjoon-hyun commented on a change in pull request #26840: [SPARK-30038][SQL] DESCRIBE FUNCTION should do multi-catalog resolution
URL: https://github.com/apache/spark/pull/26840#discussion_r356423053
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala
 ##########
 @@ -472,6 +472,19 @@ class ResolveSessionCatalog(
         tableName.asTableIdentifier,
         propertyKey)
 
+    case DescribeFunctionStatement(CatalogAndIdentifierParts(catalog, functionName), extended) =>
+      val functionIdentifier = if (isSessionCatalog(catalog)) {
+          functionName match {
 
 Review comment:
   ? indentation from line 477 to 483?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org