fn read_group_single_groupby_column(row_group: &RowGroup) {
        let cases = vec![(
            Predicate::with_time_range(&[], 0, 7), // all time but with explicit pred
            vec!["method"],
            vec![("counter", AggregateType::Sum)],
            "method,counter_sum
GET,110
POST,504
PUT,203
",
        )];

        for (predicate, group_cols, aggs, expected) in cases {
            let mut results = row_group.read_aggregate(&predicate, &group_cols, &aggs);
            results.sort();
            assert_eq!(format!("{:?}", &results), expected);
        }
    }
// the read_group path where grouping is on a single column.
the read_group path where grouping is on a single column.
the read_group path where grouping is on a single column .
fn read_group_single_groupby_column(row_group: &RowGroup) {
        let cases = vec![(
            Predicate::with_time_range(&[], 0, 7), // all time but with explicit pred
            vec!["method"],
            vec![("counter", AggregateType::Sum)],
            "method,counter_sum
GET,110
POST,504
PUT,203
",
        )];
        for (predicate, group_cols, aggs, expected) in cases {
            let mut results = row_group.read_aggregate(&predicate, &group_cols, &aggs);
            results.sort();
            assert_eq!(format!("{:?}", &results), expected);
        }
    }
fn read_group_single_groupby_column ( row_group : & RowGroup ) { let cases = vec ! [ ( Predicate with_time_range ( [ ] 0 7 ) // all time but with explicit pred vec [ " " ] vec [ ( " " AggregateType Sum ) ] " " ) ] ; for ( predicate , group_cols , aggs , expected ) in cases { let mut results = row_group . read_aggregate ( & predicate , & group_cols , & aggs ) ; results . sort ( ) ; assert_eq ! ( format ( " " results ) expected ) ; } }
the read_group path where grouping is on a single column.
the read_group path where grouping is on a single column .
row_group
&RowGroup
row_group
&RowGroup