-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-20661][SPARKR][TEST][FOLLOWUP] SparkR tableNames() test fails #17905
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
|
@felixcheung this approach is fine, but I think it is better if unit tests do not leave any side-effects to begin with. In this case every test should clean up state before and after (similar to |
|
that I agree completely, @falaki - looks like tests fail apparently when running Scala tests before running R tests |
|
I think this might be the reason? @yhuai @gatorsmile @ueshin |
|
@felixcheung you are right. That is the problem. |
|
@falaki's PR did not actually trigger that test. |
|
lgtm |
|
hmm, spoke too soon I think - looks to me like all the |
|
i see. I think d4c1a9d is good. How about we get it checked in first (after jenkins passes)? |
|
right. I think it's a good way to decouple R tests from any earlier states and also not to mask the error/leak. I'll get that in when Jenkins pass (and see if I could figure out what is leaked) |
|
How about #17908? It tries to reset the cataloged metadata objects and temporary objects. |
|
Test build #76612 has finished for PR 17905 at commit
|
|
ok Jenkins passes, I'm going to merge this in since there are a bunch of PR failing because of this, even when they say it's up-to-date with master. |
|
merged to master/2.2 |
## What changes were proposed in this pull request? Change it to check for relative count like in this test https://github.com/apache/spark/blame/master/R/pkg/inst/tests/testthat/test_sparkSQL.R#L3355 for catalog APIs ## How was this patch tested? unit tests, this needs to combine with another commit with SQL change to check Author: Felix Cheung <[email protected]> Closes #17905 from felixcheung/rtabletests. (cherry picked from commit b952b44) Signed-off-by: Felix Cheung <[email protected]>
|
Test build #76634 has started for PR 17905 at commit |
|
Test FAILed. |
## What changes were proposed in this pull request? Change it to check for relative count like in this test https://github.com/apache/spark/blame/master/R/pkg/inst/tests/testthat/test_sparkSQL.R#L3355 for catalog APIs ## How was this patch tested? unit tests, this needs to combine with another commit with SQL change to check Author: Felix Cheung <[email protected]> Closes apache#17905 from felixcheung/rtabletests.
What changes were proposed in this pull request?
Change it to check for relative count like in this test https://github.com/apache/spark/blame/master/R/pkg/inst/tests/testthat/test_sparkSQL.R#L3355 for catalog APIs
How was this patch tested?
unit tests, this needs to combine with another commit with SQL change to check