Repository: spark Updated Branches: refs/heads/master 4321ff9ed -> 5e7cd3322
[SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util ## What changes were proposed in this pull request? Add missing `warnings` import. ## How was this patch tested? Manual tests. Author: zero323 <zero...@users.noreply.github.com> Closes #16846 from zero323/SPARK-19506. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5e7cd332 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5e7cd332 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5e7cd332 Branch: refs/heads/master Commit: 5e7cd3322b04f1dd207829b70546bc7ffdd63363 Parents: 4321ff9 Author: zero323 <zero...@users.noreply.github.com> Authored: Mon Feb 13 09:26:49 2017 -0800 Committer: Holden Karau <hol...@us.ibm.com> Committed: Mon Feb 13 09:26:49 2017 -0800 ---------------------------------------------------------------------- python/pyspark/ml/util.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/5e7cd332/python/pyspark/ml/util.py ---------------------------------------------------------------------- diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py index c65b3d1..02016f1 100644 --- a/python/pyspark/ml/util.py +++ b/python/pyspark/ml/util.py @@ -17,6 +17,7 @@ import sys import uuid +import warnings if sys.version > '3': basestring = str --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org