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

SQL DataFrameReader unescapedQuoteHandling parameter is misdocumented

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.1.2, 3.2.0
    • Documentation
    •  

    Description

      The unescapedQuoteHandling parameter of DataFrameReader isn't correctly documented. STOP_AT_DELIMITER appears twice, and it looks like that's overwritten an intended option, e.g. https://github.com/apache/spark/blob/1d550c4e90275ab418b9161925049239227f3dc9/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala#L744-L749

      To view instances where this error occurs, this is a useful query https://github.com/apache/spark/search?q=STOP_AT_DELIMITER

      It appears that this bug was introduced here: https://github.com/apache/spark/pull/30518

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            timClicks Tim McNamara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified