pub fn write_batches_to_parquet(
batches: &[RecordBatch],
filepath: &PathBuf,
compression: Option<Compression>,
max_row_group_size: Option<usize>,
write_mode: Option<ParquetWriteMode>,
) -> Result<()>
Expand description
Writes multiple RecordBatch
items to a Parquet file at the specified filepath
, with optional compression and row group sizing.
§Errors
Returns an error if writing to Parquet fails or any I/O operation fails.