Skip to content
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

[SPARK-13896][SQL]Dataset.toJSON should return Dataset[String] #11732

Closed
wants to merge 2 commits into from

Conversation

skonto
Copy link
Contributor

@skonto skonto commented Mar 15, 2016

What changes were proposed in this pull request?

Change the return type of toJson in Dataset class

How was this patch tested?

No additional unit test required.

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53201 has finished for PR 11732 at commit fdd9764.

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

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53198 has finished for PR 11732 at commit a1b7334.

  • This patch passes all tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@@ -1987,9 +1987,9 @@ class Dataset[T] private[sql](
* @group rdd
* @since 1.3.0
*/
def toJSON: RDD[String] = {
def toJSON: Dataset[String] = {
Copy link
Contributor

Choose a reason for hiding this comment

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

actually we'd need to update the documentation above.

@rxin
Copy link
Contributor

rxin commented Mar 15, 2016

Actually I'm just going to merge this and fix the doc myself later. Thanks.

@skonto
Copy link
Contributor Author

skonto commented Mar 15, 2016

i missed the docs...my bad...

asfgit pushed a commit that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?
This patch merges DatasetHolder and DataFrameHolder. This makes more sense because DataFrame/Dataset are now one class.

In addition, fixed some minor issues with pull request #11732.

## How was this patch tested?
Updated existing unit tests that test these implicits.

Author: Reynold Xin <rxin@databricks.com>

Closes #11737 from rxin/SPARK-13898.
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?
Change the return type of toJson in Dataset class
## How was this patch tested?
No additional unit test required.

Author: Stavros Kontopoulos <stavros.kontopoulos@typesafe.com>

Closes apache#11732 from skonto/fix_toJson.
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?
This patch merges DatasetHolder and DataFrameHolder. This makes more sense because DataFrame/Dataset are now one class.

In addition, fixed some minor issues with pull request apache#11732.

## How was this patch tested?
Updated existing unit tests that test these implicits.

Author: Reynold Xin <rxin@databricks.com>

Closes apache#11737 from rxin/SPARK-13898.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants