You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.