Skip to content

Avoid flushing data to cloud when exception is thrown in parquet writer close #3350

Description

@Jiayi-Wang-db

Describe the bug, including details regarding any error messages, version, and platform.

Inside the InternalParquetRecordWriter::Close finally block, we call close on parquetFileWriter, which may cause incomplete data to be flushed to the cloud if an exception is thrown during the close.

This bug is introduced to parquet writer by this commit and was backported up to 1.14.0.

Component(s)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions