risingwave_batch::executor::test_utils

Function gen_data

source
pub fn gen_data(
    batch_size: usize,
    batch_num: usize,
    data_types: &[DataType],
) -> Vec<DataChunk>
Expand description

Generate batch_num data chunks with type data_types, each data chunk has cardinality of batch_size.