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

When writing ORC files, orc.compress should not be overridden if users do not set "compression" in the options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      For ORC source, Spark SQL has a writer option compression, which is used to set the codec and its value will be also set to orc.compress (the orc conf used for codec). However, if a user only set orc.compress in the writer option, we should not use the default value of "compression" (snappy) as the codec. Instead, we should respect the value of orc.compress.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            yhuai Yin Huai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: