[
https://issues.apache.org/jira/browse/SPARK-42692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-42692.
----------------------------------
Resolution: Fixed
Resolving as Fixed: this change was merged to master. Implementing commit:
51504e4527195f63f33294752f092111d01e5a46 [SPARK-42692][CONNECT] Implement
`Dataset.toJSON`. (Triaged as a stranded ticket — the fix landed but the JIRA
was left unresolved. Verified present on current master and not reverted.)
> 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]