File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments