arrow::util::data_gen

Function create_random_batch

Source
pub fn create_random_batch(
    schema: SchemaRef,
    size: usize,
    null_density: f32,
    true_density: f32,
) -> Result<RecordBatch>
Expand description

Create a random RecordBatch from a schema