-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-15159][SPARKR] SparkSession roxygen2 doc, programming guide, example updates #13751
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 #60756 has finished for PR 13751 at commit
|
docs/sparkr.md
Outdated
| machine learning using MLlib. | ||
|
|
||
| # SparkR DataFrames | ||
| # SparkDataFrames |
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.
Oh, @felixcheung
This will make broken links.
For example, DataFrame.R line 38,
@seealso \url{https://spark.apache.org/docs/latest/sparkr.html#sparkr-dataframes}
You should fix together. I'm not sure the other links outside of the R module.
|
@felixcheung LGTM excepts a few comments. |
|
@dongjoon-hyun thanks for the thorough review! |
|
Test build #60845 has finished for PR 13751 at commit
|
R/pkg/R/schema.R
Outdated
| #' rdd <- lapply(parallelize(sc, 1:10), function(x) { list(x, as.character(x)) }) | ||
| #' schema <- structType(structField("a", "integer"), structField("b", "string")) | ||
| #' df <- createDataFrame(sqlCtx, rdd, schema) | ||
| #' df <- createDataFrame(rdd, schema) |
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.
nit: there is no rdd defined here. We can just use createDataFrame(iris, schema) or dapply for this example
|
Changes look pretty good to me. Thanks -- I just had a couple of minor comments. Also I think we should look at #13592 to make sure there are no other inconsistencies in how we describe SparkSession, Catalogs etc. |
|
Test build #60865 has finished for PR 13751 at commit
|
|
LGTM. Merging this to master, branch-2.0 |
…xample updates ## What changes were proposed in this pull request? roxygen2 doc, programming guide, example updates ## How was this patch tested? manual checks shivaram Author: Felix Cheung <[email protected]> Closes #13751 from felixcheung/rsparksessiondoc. (cherry picked from commit 359c2e8) Signed-off-by: Shivaram Venkataraman <[email protected]>
What changes were proposed in this pull request?
roxygen2 doc, programming guide, example updates
How was this patch tested?
manual checks
@shivaram