-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-23522][Python] always use sys.exit over builtin exit #20682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,9 +16,10 @@ | |
| # | ||
| import itertools | ||
| import sys | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we ? |
||
| import numpy as np | ||
| from multiprocessing.pool import ThreadPool | ||
|
|
||
| import numpy as np | ||
|
|
||
| from pyspark import since, keyword_only | ||
| from pyspark.ml import Estimator, Model | ||
| from pyspark.ml.common import _py2java | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,6 @@ | |
| """ | ||
|
|
||
| import sys | ||
|
|
||
| from functools import wraps | ||
|
|
||
| from pyspark import since | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,9 +16,10 @@ | |
| # | ||
|
|
||
| import sys | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's reoprder this too |
||
| import warnings | ||
|
|
||
| import numpy as np | ||
| from numpy import array | ||
| import warnings | ||
|
|
||
| from pyspark import RDD, since | ||
| from pyspark.streaming.dstream import DStream | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ | |
| # | ||
|
|
||
| import sys | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's add a newline below |
||
|
|
||
| from pyspark import since | ||
| from pyspark.rdd import ignore_unicode_prefix | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add a newline below?