writeIpcFile

fnvoid writeIpcFile(string path, DataFrame df, IpcCompression compression = IpcCompression.NONE) @trusted

Writes 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

paththe destination path
dfthe frame
compressionthe body compression (default none)

Throws

DataFrameException on unsupported columns or IO failure

(the temp file removed either way).

fnvoid writeIpcFile(string path, LazyFrame df, IpcCompression compression = IpcCompression.NONE) @trusted

Writes 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

paththe destination path
dfthe deferred frame
compressionthe body compression (default none)

Throws

DataFrameException on unsupported columns or IO failure

(the temp file removed either way).