-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-33850][SQL][FOLLOWUP] Improve and cleanup the test code #30861
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
5f68689
to
e3ae481
Compare
Kubernetes integration test starting |
Kubernetes integration test status success |
.mode("overwrite") | ||
.saveAsTable("df1") | ||
withSQLConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true") { | ||
withTable("df") { |
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.
withTempView
?
Looks fine otherwise. |
Test build #133099 has finished for PR 30861 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #133112 has finished for PR 30861 at commit
|
Refer to this link for build results (access rights to CI server needed): |
Thanks! Merged to master. cc: @dongjoon-hyun |
### What changes were proposed in this pull request? This PR mainly improves and cleans up the test code introduced in #30855 based on the comment. The test code is actually taken from another test `explain formatted - check presence of subquery in case of DPP` so this PR cleans the code too ( removed unnecessary `withTable`). ### Why are the changes needed? To keep the test code clean. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? `ExplainSuite` passes. Closes #30861 from sarutak/followup-SPARK-33850. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Takeshi Yamamuro <[email protected]>
### What changes were proposed in this pull request? This PR mainly improves and cleans up the test code introduced in #30855 based on the comment. The test code is actually taken from another test `explain formatted - check presence of subquery in case of DPP` so this PR cleans the code too ( removed unnecessary `withTable`). ### Why are the changes needed? To keep the test code clean. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? `ExplainSuite` passes. Closes #30861 from sarutak/followup-SPARK-33850. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Takeshi Yamamuro <[email protected]> (cherry picked from commit 3c8be39) Signed-off-by: Dongjoon Hyun <[email protected]>
Since the original PR is on |
What changes were proposed in this pull request?
This PR mainly improves and cleans up the test code introduced in #30855 based on the comment.
The test code is actually taken from another test
explain formatted - check presence of subquery in case of DPP
so this PR cleans the code too ( removed unnecessarywithTable
).Why are the changes needed?
To keep the test code clean.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
ExplainSuite
passes.