Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20706#discussion_r171881215
--- 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 --
This is only used in `JSONProtocol` for now, but this is also a useful JSON
method that could apply to some other JSON operations in the future.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]