pub fn write_batches_to_parquet(
batches: &[RecordBatch],
filepath: &Path,
compression: Option<Compression>,
max_row_group_size: Option<usize>,
) -> Result<(), Box<dyn Error>>
Expand description
Writes a RecordBatch
to a Parquet file at the specified filepath
, with optional compression.