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

SQL DataFrameReader unescapedQuoteHandling parameter is misdocumented

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.2, 3.2.0
    • Component/s: docs, Documentation
    • Labels:
    • Environment:

       

      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

            • Assignee:
              hyukjin.kwon Hyukjin Kwon
              Reporter:
              timClicks Tim McNamara
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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