You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by li...@apache.org on 2018/07/21 02:48:38 UTC

spark git commit: [PYSPARK][TEST][MINOR] Fix UDFInitializationTests

Repository: spark
Updated Branches:
  refs/heads/master 597bdeff2 -> 96f312076


[PYSPARK][TEST][MINOR] Fix UDFInitializationTests

## What changes were proposed in this pull request?

Fix a typo in pyspark sql tests

Author: William Sheu <wi...@databricks.com>

Closes #21833 from PenguinToast/fix-test-typo.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/96f31207
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/96f31207
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/96f31207

Branch: refs/heads/master
Commit: 96f3120760ba0a83ef6347327ecfb130487e02dd
Parents: 597bdef
Author: William Sheu <wi...@databricks.com>
Authored: Fri Jul 20 19:48:32 2018 -0700
Committer: Xiao Li <ga...@gmail.com>
Committed: Fri Jul 20 19:48:32 2018 -0700

----------------------------------------------------------------------
 python/pyspark/sql/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/96f31207/python/pyspark/sql/tests.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py
index 565654e..2d6b9f0 100644
--- a/python/pyspark/sql/tests.py
+++ b/python/pyspark/sql/tests.py
@@ -3595,7 +3595,7 @@ class UDFInitializationTests(unittest.TestCase):
             SparkSession._instantiatedSession.stop()
 
         if SparkContext._active_spark_context is not None:
-            SparkContext._active_spark_contex.stop()
+            SparkContext._active_spark_context.stop()
 
     def test_udf_init_shouldnt_initalize_context(self):
         from pyspark.sql.functions import UserDefinedFunction


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org