-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-10905][SparkR]: Export freqItems() for DataFrameStatFunctions #8962
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
|
Jenkins, ok to test |
|
cc @sun-rui |
|
Test build #43181 has finished for PR 8962 at commit
|
|
Test build #43211 has finished for PR 8962 at commit
|
R/pkg/R/generics.R
Outdated
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.
I think using vector for cols is more R stylish.
setGeneric("freqItems", function(x, cols, support = 0.01) { standardGeneric("freqItems") })
|
@shivaram, could you merge my PR for SPARK-10752 first? that PR creates a new R file for stat functions. Then @rerngvit can rebase this PR to it. |
|
@sun-rui I revised according to your comments. Please have a look. |
|
Test build #43225 has finished for PR 8962 at commit
|
R/pkg/R/DataFrame.R
Outdated
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.
I think sqlCtx should be sqlContext
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.
any update?
b8d71fe to
f44f5ea
Compare
- Move code to stats.R
- Revised @Rdname document
- Document the x dataframe
- Add additional testcase
- Convert input columns to a vector instead of R ellipsis
|
Test build #43406 has finished for PR 8962 at commit
|
|
Test build #43410 has finished for PR 8962 at commit
|
|
Jenkins, retest this please |
|
The errors seem not related to the PR. There might be an issue with Jenkins. |
|
Jenkins, retest this please |
|
Test build #43431 has finished for PR 8962 at commit
|
R/pkg/inst/tests/test_sparkSQL.R
Outdated
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.
Don't need to add a new test_that. Just move this test case into the above one.
R/pkg/R/stats.R
Outdated
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.
support = 0.01
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.
+1
|
@sun-rui @felixcheung Thanks for the review. I revised according to your comments. Please have a look. |
|
Test build #43463 has finished for PR 8962 at commit
|
|
LGTM |
[SPARK-10905][SparkR]: Export freqItems() for DataFrameStatFunctions