cloud-fan commented on a change in pull request #29198:
URL: https://github.com/apache/spark/pull/29198#discussion_r459849015



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -3610,8 +3610,10 @@ class AstBuilder(conf: SQLConf) extends 
SqlBaseBaseVisitor[AnyRef] with Logging
         case Some(x) => throw new ParseException(s"SHOW $x FUNCTIONS not 
supported", ctx)
     }
     val pattern = Option(ctx.pattern).map(string(_))
-    val functionName = 
Option(ctx.multipartIdentifier).map(visitMultipartIdentifier)
-    ShowFunctionsStatement(userScope, systemScope, pattern, functionName)
+    val functionName = Option(ctx.multipartIdentifier)

Review comment:
       or keep it `functionName`, and do
   ```
   ShowFunctions(UnresolvedFunc(functionName), userScope, systemScope, pattern)
   ```




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

Reply via email to