Skip to content

Commit cf13bfa

Browse files
committed
avoild using ClassOf[HiveCode]
1 parent 6dfc627 commit cf13bfa

File tree

1 file changed

+1
-1
lines changed
  • sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver

1 file changed

+1
-1
lines changed

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfterAll with Logging {
327327
"CREATE TEMPORARY FUNCTION testjar AS" +
328328
" 'org.apache.spark.sql.hive.execution.UDTFStack';" -> "",
329329
"SELECT testjar(1,'TEST-SPARK-TEST-jar', 28840);" -> "TEST-SPARK-TEST-jar\t28840",
330-
s"CREATE TEMPORARY FUNCTION example_max AS '${classOf[UDAFExampleMax].getName}';" -> "",
330+
"CREATE TEMPORARY FUNCTION example_max AS 'org.apache.hadoop.hive.contrib.udaf.example.UDAFExampleMax';" -> "",
331331
"SELECT concat_ws(',', 'First', example_max(1234321), 'Third');" -> "First,1234321,Third"
332332
)
333333
}

0 commit comments

Comments
 (0)