You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anil (JIRA)" <ji...@apache.org> on 2019/01/09 13:16:00 UTC

[jira] [Created] (SPARK-26581) Spark Dataset write JSON with Multiline

Anil created SPARK-26581:
----------------------------

             Summary: Spark Dataset write JSON with Multiline
                 Key: SPARK-26581
                 URL: https://issues.apache.org/jira/browse/SPARK-26581
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.3.0
            Reporter: Anil


Hi,

Spark currently can only write JSON file for single node, if i have multiple lines or nodes, spark writes nodes with curly braces " \{ }" without comma "," in between both the nodes and there is no square brackets at start and end of the file. How to achive this. i am trying to write the JSON file like:.

ds.write().format("JSON").option("multiline","true").save(path);

please help on this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org