Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22484

PySpark DataFrame.write.csv(quote="") uses nullchar as quote

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: Input/Output, PySpark
    • Labels:
      None

      Description

      [Documentation](https://spark.apache.org/docs/latest/api/python/pyspark.sql.html?highlight=save#pyspark.sql.DataFrame) of DataFrame.write.csv() says that setting the quote parameter to an empty string should turn off quoting. Instead, it uses the [null character](https://en.wikipedia.org/wiki/Null_character) as the quote.

        Attachments

          Activity

            People

            • Assignee:
              jbollen John Bollenbacher
              Reporter:
              jbollen John Bollenbacher
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: