Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

SPARK-13817 (PR #11656) replaces DataFrame with Dataset from Java. This PR fixes the remaining broken links and sample Java code in package-info.java. As a result, it will update the following Javadoc.

How was this patch tested?

Manual.

@dongjoon-hyun
Copy link
Member Author

Hi, @liancheng .
Could you review this PR, please?

@SparkQA
Copy link

SparkQA commented Mar 12, 2016

Test build #52996 has finished for PR 11675 at commit 80418ef.

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

* RowFactory.create(1, "I wish Java could use case classes", 4.0),
* RowFactory.create(2, "Logistic regression models are neat", 4.0)));
* DataFrame df = jsql.createDataFrame(rowRDD, schema);
* Dataset<Row> dataset = jsql.createDataFrame(rowRDD, schema);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor thing, we usually use ds instead of dataset to name a temporary Dataset in example code. But it's OK here.

@liancheng
Copy link
Contributor

LGTM, merging to master. Thanks for fixing this!

@asfgit asfgit closed this in db88d02 Mar 13, 2016
@dongjoon-hyun
Copy link
Member Author

Oh, thank you, @liancheng !

jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Mar 17, 2016
## What changes were proposed in this pull request?

SPARK-13817 (PR apache#11656) replaces `DataFrame` with `Dataset` from Java. This PR fixes the remaining broken links and sample Java code in `package-info.java`. As a result, it will update the following Javadoc.

* http://spark.apache.org/docs/latest/api/java/org/apache/spark/ml/attribute/package-summary.html
* http://spark.apache.org/docs/latest/api/java/org/apache/spark/ml/feature/package-summary.html

## How was this patch tested?

Manual.

Author: Dongjoon Hyun <[email protected]>

Closes apache#11675 from dongjoon-hyun/replace_dataframe_with_dataset_in_javadoc.
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

SPARK-13817 (PR apache#11656) replaces `DataFrame` with `Dataset` from Java. This PR fixes the remaining broken links and sample Java code in `package-info.java`. As a result, it will update the following Javadoc.

* http://spark.apache.org/docs/latest/api/java/org/apache/spark/ml/attribute/package-summary.html
* http://spark.apache.org/docs/latest/api/java/org/apache/spark/ml/feature/package-summary.html

## How was this patch tested?

Manual.

Author: Dongjoon Hyun <[email protected]>

Closes apache#11675 from dongjoon-hyun/replace_dataframe_with_dataset_in_javadoc.
@dongjoon-hyun dongjoon-hyun deleted the replace_dataframe_with_dataset_in_javadoc branch March 29, 2016 05:23
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.

3 participants