Function write_batches_to_object_store

Source
pub async fn write_batches_to_object_store(
    batches: &[RecordBatch],
    object_store: Arc<dyn ObjectStore>,
    path: &Path,
    compression: Option<Compression>,
    max_row_group_size: Option<usize>,
) -> Result<()>
Expand description

Writes multiple RecordBatch items to an object store URI, with optional compression and row group sizing.

§Errors

Returns an error if writing to Parquet fails or any I/O operation fails.