Function arrow::util::bench_util::create_sparse_dict_from_values

source ยท
pub fn create_sparse_dict_from_values<K>(
    size: usize,
    null_density: f32,
    values: &dyn Array,
    key_range: Range<K::Native>,
) -> DictionaryArray<K>
Expand description

Creates a random (but fixed-seeded) dictionary array of a given size and null density with the provided values array and key range