Fokko commented on a change in pull request #29563:
URL: https://github.com/apache/spark/pull/29563#discussion_r478670209
##########
File path: python/pyspark/ml/classification.py
##########
@@ -16,19 +16,24 @@
#
import operator
+import sys
Review comment:
Both `sys` and `uuid` are used in the class, but aren't being imported.
uuid:
https://github.com/apache/spark/blob/master/python/pyspark/ml/classification.py#L3027
sys:
https://github.com/apache/spark/blob/master/python/pyspark/ml/classification.py#L3421
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]