viirya commented on a change in pull request #26667: [SPARK-29922][SQL] SHOW
FUNCTIONS should do multi-catalog resolution
URL: https://github.com/apache/spark/pull/26667#discussion_r351986938
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala
##########
@@ -1786,6 +1786,15 @@ class DataSourceV2SQLSuite
}
}
+ test("SHOW FUNCTIONS not valid v1 namespace") {
+ val function = "testcat.ns1.ns2.fun"
+
+ val e = intercept[AnalysisException] {
+ sql(s"SHOW FUNCTIONS LIKE $function")
+ }
+ assert(e.message.contains(s"SHOW FUNCTIONS is only supported in v1
catalog"))
Review comment:
we don't need s"".
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]