Skip to content

Commit ef4fb7e

Browse files
zero323holdenk
authored andcommitted
[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 <zero323@users.noreply.github.com> Closes #16846 from zero323/SPARK-19506. (cherry picked from commit 5e7cd33) Signed-off-by: Holden Karau <holden@us.ibm.com>
1 parent a3b6751 commit ef4fb7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pyspark/ml/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import sys
1919
import uuid
20+
import warnings
2021

2122
if sys.version > '3':
2223
basestring = str

0 commit comments

Comments
 (0)