Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20682#discussion_r171190978
--- Diff: python/pyspark/ml/regression.py ---
@@ -1812,4 +1812,4 @@ def __repr__(self):
except OSError:
pass
if failure_count:
- exit(-1)
+ sys.exit(-1)
--- End diff --
need to import sys.--- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
