Skip to main content

compute_batch_size_from_memory

Function compute_batch_size_from_memory 

Source
pub fn compute_batch_size_from_memory(
    memory_mb: usize,
    schema: &SchemaRef,
) -> usize
Expand description

Compute batch_size from a memory target in MB and estimated row size.