System.out.println("----------------------------------------------------");
Utils.reset();
t = groupBy(rel(10), 1, 2).min(3).max(4).sum(5).count(6, 7).avg(8).countDistinct(9, 10);
System.out.println(t);
r = t.execute();
System.out.println(r.getResultRelation());
System.out.println(r.getFormulas());
ats.storeAlgebra("examples/test_groupBy4.xml", t);
ats.writeExcel("examples/excel_groupBy4.xlsx", r);
t = ats.readAlgebra("examples/test_groupBy4.xml");