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

Write mode ignored when using CodecStreams

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.4.4
    • Fix Version/s: None
    • Component/s: Input/Output
    • Labels:
      None

      Description

      Overwrite is hardcoded to false in the codec stream. This can cause issues, particularly with aws tools, that make it impossible to retry.

      Ideally, this should be read from the write mode set for the DataWriter that is writing through this codec class.

      https://github.com/apache/spark/blame/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/CodecStreams.scala#L81

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jessec Jesse Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: