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