Skip to content

Conversation

@felixcheung
Copy link
Member

What changes were proposed in this pull request?

roxygen2 doc, programming guide, example updates

How was this patch tested?

manual checks
@shivaram

@SparkQA
Copy link

SparkQA commented Jun 18, 2016

Test build #60756 has finished for PR 13751 at commit c434614.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

docs/sparkr.md Outdated
machine learning using MLlib.

# SparkR DataFrames
# SparkDataFrames
Copy link
Member

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.

@dongjoon-hyun
Copy link
Member

@felixcheung LGTM excepts a few comments.

@felixcheung
Copy link
Member Author

@dongjoon-hyun thanks for the thorough review!

@SparkQA
Copy link

SparkQA commented Jun 20, 2016

Test build #60845 has finished for PR 13751 at commit 701bf30.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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)
Copy link
Contributor

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

@shivaram
Copy link
Contributor

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.

@SparkQA
Copy link

SparkQA commented Jun 20, 2016

Test build #60865 has finished for PR 13751 at commit 7be3e09.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@shivaram
Copy link
Contributor

LGTM. Merging this to master, branch-2.0

asfgit pushed a commit that referenced this pull request Jun 20, 2016
…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]>
@asfgit asfgit closed this in 359c2e8 Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants