create_primitive_list_array_with_seed

Function create_primitive_list_array_with_seed 

Source
pub fn create_primitive_list_array_with_seed<O, T>(
    size: usize,
    null_density: f32,
    list_null_density: f32,
    max_list_size: usize,
    seed: u64,
) -> GenericListArray<O>
Expand description

Create a List/LargeList Array of primitive values

Arguments:

  • size: number of lists in the array
  • null_density: density of nulls in the list array
  • list_null_density: density of nulls in the primitive arrays inside the lists
  • max_list_size: maximum size of each list (actual size is random between 0 and max_list_size)
  • seed: seed for the random number generator