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

    https://github.com/apache/spark/pull/21182#discussion_r185757247
  
    --- 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 --
    
    I think we can use `parameters` instead of constructing a new map.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to