Github user crafty-coder commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20949#discussion_r203023263
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala
 ---
    @@ -512,6 +512,43 @@ class CSVSuite extends QueryTest with SharedSQLContext 
with SQLTestUtils with Te
         }
       }
     
    +  test("Save csv with custom charset") {
    +    Seq("iso-8859-1", "utf-8", "windows-1250").foreach { encoding =>
    +      withTempDir { dir =>
    +        val csvDir = new File(dir, "csv").getCanonicalPath
    +        // scalastyle:off
    +        val originalDF = Seq("µß áâä ÁÂÄ").toDF("_c0")
    +        // scalastyle:on
    +        originalDF.write
    +          .option("header", "false")
    --- End diff --
    
    My bad, there is no reason. It's fixed on the next commit.


---

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

Reply via email to