Herman van Hövell created SPARK-42692:
-----------------------------------------

             Summary: 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


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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to