cloud-fan commented on code in PR #41932:
URL: https://github.com/apache/spark/pull/41932#discussion_r1261861475
##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUDFSuite.scala:
##########
@@ -552,6 +552,16 @@ class HiveUDFSuite extends QueryTest with
TestHiveSingleton with SQLTestUtils {
}
}
+ test("Invoke a persist hive function with call_function") {
+ val testData = spark.range(5).repartition(1)
+ withUserDefinedFunction("`default.custom_func`" -> true) {
Review Comment:
this is not a persist function. Can you check other tests in this file? we
need to use `CREATE FUNCTION` to create persist functions.
--
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]