Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/22534#discussion_r219809938
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala
---
@@ -113,6 +113,11 @@ private[sql] class JSONOptions(
}
val lineSeparatorInWrite: String = lineSeparator.getOrElse("\n")
+ /**
+ * Generating JSON strings in pretty representation if the parameter
enabled.
+ */
+ val pretty: Boolean =
parameters.get("pretty").map(_.toBoolean).getOrElse(false)
--- End diff --
hm .. so now finally this became an actual problem. This is specifically
for JSON functions and documented nowhere. Can we deal with this problem?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]