pub async fn make_two_chunk_scenarios(
    partition_key: &str,
    data1: &str,
    data2: &str,
) -> Vec<DbScenario> {
    let lp_lines1: Vec<_> = data1.split('\n').collect();
    let lp_lines2: Vec<_> = data2.split('\n').collect();

    make_n_chunks_scenario(&[
        ChunkData {
            lp_lines: lp_lines1,
            partition_key,
            ..Default::default()
        },
        ChunkData {
            lp_lines: lp_lines2,
            partition_key,
            ..Default::default()
        },
    ])
    .await
}
/// Load two chunks of lp data into different chunk scenarios.
Load two chunks of lp data into different chunk scenarios.
Load two chunks of lp data into different chunk scenarios .
pub async fn make_two_chunk_scenarios(
    partition_key: &str,
    data1: &str,
    data2: &str,
) -> Vec<DbScenario> {
    let lp_lines1: Vec<_> = data1.split('\n').collect();
    let lp_lines2: Vec<_> = data2.split('\n').collect();
    make_n_chunks_scenario(&[
        ChunkData {
            lp_lines: lp_lines1,
            partition_key,
            ..Default::default()
        },
        ChunkData {
            lp_lines: lp_lines2,
            partition_key,
            ..Default::default()
        },
    ])
    .await
}
pub async fn make_two_chunk_scenarios ( partition_key : & str , data1 : & str , data2 : & str , ) -> Vec < DbScenario > { let lp_lines1 : Vec < _ > = data1 . split ( '\n' ) . collect ( ) ; let lp_lines2 : Vec < _ > = data2 . split ( '\n' ) . collect ( ) ; make_n_chunks_scenario ( & [ ChunkData { lp_lines : lp_lines1 , partition_key , .. Default :: default ( ) } , ChunkData { lp_lines : lp_lines2 , partition_key , .. Default :: default ( ) } , ] ) . await }
Load two chunks of lp data into different chunk scenarios.
Load two chunks of lp data into different chunk scenarios .
partition_key
&str
data1
&str
data2
&str
partition_key
&str
data1
&str
data2
&str