risingwave_batch::executor::test_utils

Function gen_sorted_data

source
pub fn gen_sorted_data(
    batch_size: usize,
    batch_num: usize,
    start: String,
    step: u64,
    offset: u64,
) -> Vec<DataChunk>
Expand description

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