break;
case TEXTAGG:
functions[i] = new TextAgg(context, (TextLine)ex);
break;
default:
functions[i] = new StatsFunction(function);
}
if(aggSymbol.isDistinct() && !function.equals(NonReserved.MIN) && !function.equals(NonReserved.MAX)) {
SortingFilter filter = new SortingFilter(functions[i], getBufferManager(), getConnectionID(), true);