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

    https://github.com/apache/spark/pull/16428#discussion_r94239452
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala ---
    @@ -573,6 +573,7 @@ final class DataFrameWriter[T] private[sql](ds: 
Dataset[T]) {
        * indicates a timestamp format. Custom date formats follow the formats 
at
        * `java.text.SimpleDateFormat`. This applies to timestamp type.</li>
        * </ul>
    +   * <li>`writeEncoding`(default `utf-8`) save dataFrame 2 csv by giving 
encoding</li>
    --- End diff --
    
    We also should add the same documentation in `readwriter.py`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to