cloud-fan commented on code in PR #37036:
URL: https://github.com/apache/spark/pull/37036#discussion_r911959071


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/command/ShowFunctionsSuiteBase.scala:
##########
@@ -38,9 +38,11 @@ import org.apache.spark.util.Utils
 trait ShowFunctionsSuiteBase extends QueryTest with DDLCommandTestUtils {
   override val command = "SHOW FUNCTIONS"
 
+  protected def funCatalog: String = catalog
   protected def createFunction(name: String): Unit = {}
   protected def dropFunction(name: String): Unit = {}
   protected def showFun(ns: String, name: String): String = 
s"$ns.$name".toLowerCase(Locale.ROOT)
+  protected def isTempFunctions(): Boolean = false

Review Comment:
   it's a bit weird to have this flag. Temp function does not belong to any 
catalog and should be tested in both v1 and v2 tests.



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