-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-36689][PYTHON] Cleanup the deprecated APIs and raise proper warning message. #33931
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
Conversation
|
Test build #143064 has finished for PR 33931 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Can you fix tests? Otherwise looks good. cc @ueshin too fyi |
ueshin
left a comment
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.
Otherwise, LGTM, pending tests.
|
Test build #143107 has finished for PR 33931 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Merged to master. |
What changes were proposed in this pull request?
This PR proposes cleanup the deprecated APIs in
missing/*.py, and raise proper warning message for the deprecated APIs such as pandas does.Also remove the checking for pandas < 1.0, since now we only focus on following the behavior of latest pandas.
Why are the changes needed?
We should follow the deprecation of APIs of latest pandas.
Does this PR introduce any user-facing change?
Now the some APIs raise proper alternative message for deprecated functions such as pandas does.
How was this patch tested?
Ran
dev/lint-pythonand manually check the pandas API documents one by one.