[
https://issues.apache.org/jira/browse/SPARK-42692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-42692:
------------------------------------
Assignee: (was: Apache Spark)
> Implement Dataset.toJson
> ------------------------
>
> Key: SPARK-42692
> URL: https://issues.apache.org/jira/browse/SPARK-42692
> Project: Spark
> Issue Type: New Feature
> Components: Connect
> Affects Versions: 3.4.0
> Reporter: Herman van Hövell
> Priority: Major
>
> Implement Dataset.toJSON:
>
> {code:java}
> /**
> * Returns the content of the Dataset as a Dataset of JSON strings.
> * @since 3.4.0
> */
> def toJSON: Dataset[String]{code}
>
> Please see if we can implement this using
> {{{}project(to_json(struct(*))).as(StringEncoder){}}}.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]