jiangjiangtian commented on code in PR #10475:
URL:
https://github.com/apache/incubator-gluten/pull/10475#discussion_r2305980879
##########
backends-velox/src/test/scala/org/apache/spark/sql/execution/GlutenHiveUDFSuite.scala:
##########
@@ -122,6 +124,71 @@ class GlutenHiveUDFSuite extends GlutenQueryTest with
SQLTestUtils {
}
}
+ test("customer udtf") {
+ withTempFunction("testUDTF") {
+ sql(s"CREATE TEMPORARY FUNCTION testUDTF AS
'${classOf[CustomerUDTF].getName}'")
+ val df = sql(
+ "select l_partkey, col0, col1 from lineitem lateral view" +
+ " testUDTF(l_partkey, l_comment) as col0, col1")
+ df.collect()
Review Comment:
OK, I will wait this PR. Thanks!
--
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]