arrow::util::bench_util

Function create_string_dict_array

Source
pub fn create_string_dict_array<K: ArrowDictionaryKeyType>(
    size: usize,
    null_density: f32,
    str_len: usize,
) -> DictionaryArray<K>
Expand description

Creates an random (but fixed-seeded) array of a given size and null density consisting of random 4 character alphanumeric strings