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

    https://github.com/apache/spark/pull/20937#discussion_r179952386
  
    --- 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>`encoding` (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 encoding
    --- End diff --
    
    I think `UTF-32` is blacklisted.


---

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

Reply via email to