(the temp file removed either way).
writeIpcFile
fn
void writeIpcFile(string path, DataFrame df,
IpcCompression compression = IpcCompression.NONE) @trustedWrites a frame to an Arrow IPC file (.arrows, Feather V2) under the approved failure policy: the bytes stage into a sibling temp file that renames into place on success and is removed on any failure - a failed write never leaves a partial file.
Parameters
path | the destination path |
df | the frame |
compression | the body compression (default none) |
Throws
DataFrameException on unsupported columns or IO failure
fn
void writeIpcFile(string path, LazyFrame df,
IpcCompression compression = IpcCompression.NONE) @trustedWrites a deferred frame to an Arrow IPC file incrementally: the schema derives from metadata alone, batches pull through the row-wise chain one at a time (the input never materialises), and each pull becomes one record batch. The flat kinds admit the incremental path; rich kinds reject naming themselves (collect() plus buildIpcBytes cover them). The temp-then-rename failure policy applies.
Parameters
path | the destination path |
df | the deferred frame |
compression | the body compression (default none) |
Throws
DataFrameException on unsupported columns or IO failure
(the temp file removed either way).