// Create the new query, merging in the analysis of the method
SelectOnly<U> toReturn = (SelectOnly<U>)select.shallowCopy();
toReturn.isAggregated = true;
toReturn.cols = ColumnExpressions.singleColumn(
new SimpleRowReader<>(),
new AggregateFunctionExpression(aggregatedExpr, type.name(), select.isDistinct));
return toReturn;
}
throw new QueryTransformException("Existing query cannot be transformed further");
} catch (TypedValueVisitorException e)
{