Uh oh!
There was an error while loading. Please reload this page.
[SPARK-16727][SparkR] Fix expected test output of describe and summary functions - #14357
[SPARK-16727][SparkR] Fix expected test output of describe and summary functions#14357junyangq wants to merge 1 commit into
Conversation
shivaram
commented
Jul 26, 2016
@junyangq Any idea how the tests were passing on Jenkins before this fix ? |
shivaram
commented
Jul 26, 2016
I think this is related to 142df48 |
SparkQA
commented
Jul 26, 2016
Test build #62852 has finished for PR 14357 at commit
|
dongjoon-hyun
commented
Jul 26, 2016
Hi, @shivaram. |
dongjoon-hyun
commented
Jul 26, 2016
String columns works for |
junyangq
commented
Jul 26, 2016
@shivaram I'm also curious...The issue arised when I ran the test locally. |
dongjoon-hyun
commented
Jul 26, 2016
> collect(describe(read.json('examples/src/main/resources/people.json')))
summaryagename1count232mean24.5<NA>3stddev7.7781745930520225<NA>4min19Andy5max30Michael |
In fact, |
dongjoon-hyun
commented
Jul 26, 2016
Hi, @junyangq . |
@dongjoon-hyun That makes sense. That's why I feel confused about the output on my local machine... |
dongjoon-hyun
commented
Jul 26, 2016
I see. Which version is it? |
dongjoon-hyun
commented
Jul 26, 2016
I see. That seems 2.0 branch. |
dongjoon-hyun
commented
Jul 26, 2016
Hi, @shivaram .
|
junyangq
commented
Jul 26, 2016
I think I ran the test under the master branch though... Let me double check :) |
dongjoon-hyun
commented
Jul 26, 2016
Thank you, @junyangq . |
junyangq
commented
Jul 26, 2016
I merged the most recent master branch, rebuilt and installed the package, but the test failed at the same place. @dongjoon-hyun |
dongjoon-hyun
commented
Jul 26, 2016
Oh, let me try this time. Thank you for double-checking, @junyangq . |
dongjoon-hyun
commented
Jul 26, 2016
@junyangq . Currently, you are at the most recent master build, right? scala> spark.read.json("examples/src/main/resources/people.json").describe().show() |
junyangq
commented
Jul 26, 2016
Hmm... It doesn't show the name column either. |
dongjoon-hyun
commented
Jul 26, 2016
At the most recent master build, I did the following things and all tests are passed. |
dongjoon-hyun
commented
Jul 26, 2016
I think you did something wrong. :) |
dongjoon-hyun
commented
Jul 26, 2016
Actually, you can see the Jenkins log, too. There is no problem with the current R testsuite. FYI, I'm using JDK 1.8.0_102 and Jenkins is using JDK 1.7.x. |
junyangq
commented
Jul 26, 2016
Yeah sure, but just wondering if the clean and additional arguments something we should normally do? |
Never. I did that in order to make it sure. I don't do it frequently. |
If you use |
junyangq
commented
Jul 26, 2016
I see. Thank you for pointing that out :) I'll close the PR. |
dongjoon-hyun
commented
Jul 26, 2016
It's my pleasure. See you later around Apache Spark. :) |
What changes were proposed in this pull request?
Fix expected test output of describe and summary functions. String columns are not summarized in the output.
How was this patch tested?
SparkR unit test.