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

    https://github.com/apache/spark/pull/13267#discussion_r64312653
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala
 ---
    @@ -364,6 +364,33 @@ class CSVSuite extends QueryTest with SharedSQLContext 
with SQLTestUtils {
         }
       }
     
    +  test("save csv with quote escaping enabled") {
    +    withTempDir { dir =>
    +      val csvDir = new File(dir, "csv").getCanonicalPath
    +
    +      val df = spark.createDataFrame(Seq(("test \"quote\"", 123,
    +                                             "it \"works\"!", "\"very\" 
well")))
    --- End diff --
    
    Indentation here.. maybe. I see other codes follow the indentations such as:
    
    ```scala
    spark.createDataFrame(
      Seq(("test \"quote\"", 123, "it \"works\"!", "\"very\" well")))
    ```
    
    ```scala
    spark.createDataFrame(Seq(
      ("test \"quote\"", 123, "it \"works\"!", "\"very\" well")
    ))
    ```
    
    ```scala
    val data = Seq(("test \"quote\"", 123, "it \"works\"!", "\"very\" well"))
    spark.createDataFrame(data)
    ```
    
    and etc..


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to