AggregateParser { public static Aggregate parse(String expr, Boolean allowSingleExpr) { return processParse(expr, allowSingleExpr); }  static Aggregate parse(String expr, Boolean allowSingleExpr); static Aggregate parse(String expr);  }
@Test public void testMulti() { Aggregate aggs = AggregateParser.parse("sum(a), avg(b)"); assertAggregate(aggs.items()[0]); assertAggregate(aggs.items()[1], "bAvg", "avg", "b"); aggs = AggregateParser.parse("sum(a) aa, avg(b) as b"); assertAggregate(aggs.items()[0], "aa"); assertAggregate(aggs.items()[1], "b", "avg", "b"); }