Skip to content

Commit 98696c2

Browse files
committed
renamed originalUdfs in TestHive to originalUDFs
1 parent 7738f74 commit 98696c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
391391
* Records the UDFs present when the server starts, so we can delete ones that are created by
392392
* tests.
393393
*/
394-
protected val originalUdfs: JavaSet[String] = FunctionRegistry.getFunctionNames
394+
protected val originalUDFs: JavaSet[String] = FunctionRegistry.getFunctionNames
395395

396396
/**
397397
* Resets the test instance by deleting any tables that have been created.
@@ -410,7 +410,7 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
410410
catalog.client.reset()
411411
catalog.unregisterAllTables()
412412

413-
FunctionRegistry.getFunctionNames.filterNot(originalUdfs.contains(_)).foreach { udfName =>
413+
FunctionRegistry.getFunctionNames.filterNot(originalUDFs.contains(_)).foreach { udfName =>
414414
FunctionRegistry.unregisterTemporaryUDF(udfName)
415415
}
416416

0 commit comments

Comments
 (0)