nonAggregationProperties.addAll(e.nonAggregationProperties());
}
if (!nonAggregationProperties.isEmpty()) {
if (groupByClause == null) {
throw new EGQLE001Exception();
} else {
nonAggregationProperties.removeAll(groupByClause.items());
if (! nonAggregationProperties.isEmpty()) {
// some fields are not in group by function
throw new EGQLE001Exception();
}
}
}
}
}