Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20706#discussion_r171933520
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -1876,17 +1822,6 @@ private[spark] object Utils extends Logging {
obj.getClass.getSimpleName.replace("$", "")
}
- /** Return an option that translates JNothing to None */
- def jsonOption(json: JValue): Option[JValue] = {
--- End diff --
It encourages writing manual serialization and deserialization code, which
is error prone.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]