Github user MaxGekk commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21182#discussion_r185773095
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala
 ---
    @@ -136,4 +138,6 @@ private[sql] class JSONOptions(
           allowBackslashEscapingAnyCharacter)
         factory.configure(JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS, 
allowUnquotedControlChars)
       }
    +
    +  val textOptions = ListMap(parameters.toList: _*)
    --- End diff --
    
    The reason why I constructed new map is I got an exception like the 
`textOptions` value is not serializable on one test suite. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to