-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20689][PYSPARK] python doctest leaking bucketed table #17932
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 #76730 has started for PR 17932 at commit |
|
Jenkins, retest this please |
| :py:meth:`DataFrameWriter.saveAsTable`. | ||
| >>> (df.write.format('parquet') | ||
| >>> (df.write.format('parquet') # doctest: +SKIP |
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.
Glad to know it. : ) For multi-line commands, we just need to do it in the first line?
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.
only the line with >>>
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.
Thanks!
|
Test build #76736 has finished for PR 17932 at commit
|
|
LGTM as targeted. |
|
LGTM |
|
Thanks! Merging to master. |
|
Test build #76753 has finished for PR 17932 at commit
|
|
I see I am the one to blame here. Sorry for that @felixcheung |
|
@zero323 That is fine. I should find the issue when I reviewed it. |
## What changes were proposed in this pull request? It turns out pyspark doctest is calling saveAsTable without ever dropping them. Since we have separate python tests for bucketed table, and there is no checking of results, there is really no need to run the doctest, other than leaving it as an example in the generated doc ## How was this patch tested? Jenkins Author: Felix Cheung <[email protected]> Closes apache#17932 from felixcheung/pytablecleanup.
What changes were proposed in this pull request?
It turns out pyspark doctest is calling saveAsTable without ever dropping them. Since we have separate python tests for bucketed table, and there is no checking of results, there is really no need to run the doctest, other than leaving it as an example in the generated doc
How was this patch tested?
Jenkins