postProcessing = true;
}
}
}
for (GroupFunction gf : groupOp.getGroupFunctions()) {
<BUG>if (gf.getFunction() == null && !gf.getSourceId().equals(cg.getSourceId())) {
</BUG>
String dbGfId = _columnFromMetadata(metadata, gf.getSourceId());
_query.groupBy(SQLFactory.column(dbGfId));
}

postProcessing = true;
}
else {
_query.groupBy(SQLFactory.column(dbColumnId));
for (GroupFunction gf : groupOp.getGroupFunctions()) {
if (!sourceId.equals(gf.getSourceId()) && gf.getFunction() == null) {
postProcessing = true;
}
}
}
for (GroupFunction gf : groupOp.getGroupFunctions()) {
if (gf.getFunction() == null && !gf.getSourceId().equalsIgnoreCase(cg.getSourceId())) {
String dbGfId = _columnFromMetadata(metadata, gf.getSourceId());
_query.groupBy(SQLFactory.column(dbGfId));
