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

    https://github.com/apache/spark/pull/20849#discussion_r175263062
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala ---
    @@ -366,6 +366,9 @@ class DataFrameReader private[sql](sparkSession: 
SparkSession) extends Logging {
        * `java.text.SimpleDateFormat`. This applies to timestamp type.</li>
        * <li>`multiLine` (default `false`): parse one record, which may span 
multiple lines,
        * per file</li>
    +   * <li>`charset` (by default it is not set): allows to forcibly set one 
of standard basic
    +   * or extended charsets for input jsons. For example UTF-8, UTF-16BE, 
UTF-32. If the charset
    +   * is not specified (by default), the charset is detected 
automatically.</li>
    --- End diff --
    
    Should we document it in write side too?


---

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

Reply via email to