}
return tupleList;
}
private static void checkIfAggregationSizeIsTooLarge(List list) {
final IntegerProperty property =
MondrianProperties.instance().MaxConstraints;
final int maxConstraints = property.get();
if (list.size() > maxConstraints) {
throw newEvalException(
null,
"Aggregation is not supported over a list"
+ " with more than " + maxConstraints + " predicates"
+ " (see property " + property.getPath() + ")");
}
}