} else if ("max(float)".equalsIgnoreCase(agg)) {
func = new FloatMax();
} else if ("max(long)".equalsIgnoreCase(agg)) {
func = new LongMax();
} else if ("max(int)".equalsIgnoreCase(agg)) {
func = new IntMax();
} else if ("max(chararray)".equalsIgnoreCase(agg)) {
func = new StringMax();
} else if ("max(bytearray)".equalsIgnoreCase(agg)) {
func = new MAX();
} else if ("row_number".equalsIgnoreCase(agg)) {