Skip to content

[BUG] ORC writer writes the 3 byte "ORC" header even when the write operation fails #15387

@vuule

Description

@vuule

We should not write any data to the sink unless the entire write is successful.

Proposal:
Move the writing of the header from init_state to write_orc_data_to_sink. This way, any encode/compression errors will result in no changes to the sink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcuIOcuIO issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions