Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/22534#discussion_r219903500
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala
---
@@ -2515,4 +2515,35 @@ class JsonSuite extends QueryTest with
SharedSQLContext with TestJsonData {
checkCount(2)
countForMalformedJSON(0, Seq(""))
}
+
+ test("saving pretty JSON in the mutliLine mode") {
+ withTempPath { path =>
+ val df = spark.range(1).select(
--- End diff --
let's just allow this option in JSON function only for now if not (I guess
it's not from a cursory look).
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]