From 328dfc45ab8f1f5ea131b72f92e9b7b8223b3a7b Mon Sep 17 00:00:00 2001 From: Xi Liu Date: Thu, 12 Jun 2014 09:45:03 -0700 Subject: [PATCH] [Spark SQL] remove a temporary function after test --- .../org/apache/spark/sql/hive/execution/HiveUdfSuite.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala index e54de15188adf..a9e3f42a3adfc 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUdfSuite.scala @@ -56,6 +56,8 @@ class HiveUdfSuite extends HiveComparisonTest { TestHive.hql("CREATE TEMPORARY FUNCTION testUdf AS '%s'".format(classOf[PairUdf].getName)) TestHive.hql("SELECT testUdf(pair) FROM hiveUdfTestTable") + + TestHive.hql("DROP TEMPORARY FUNCTION IF EXISTS testUdf") } class TestPair(x: Int, y: Int) extends Writable with Serializable {