} else if ("sum(double)".equalsIgnoreCase(agg) ||
"sum(float)".equalsIgnoreCase(agg)) {
func = new DoubleSum();
} else if ("sum(int)".equalsIgnoreCase(agg) ||
"sum(long)".equalsIgnoreCase(agg)) {
func = new LongSum();
} else if ("sum(bytearray)".equalsIgnoreCase(agg)) {
func = new SUM();
} else if ("avg(double)".equalsIgnoreCase(agg)) {
func = new DoubleAvg();
} else if ("avg(float)".equalsIgnoreCase(agg)) {