Avoid generation of duplicated GROUP BY clauses
We sometimes generate clauses twice when we say e.g. groupByManager.applyGroupBys() orderByManager.buildGroupByClauses()
buildGroupByClauses() might generate clauses that have already been generated in applyGroupBys(). Such duplicates should be eliminated.
I think this is fixed. Seems like you put all clauses into a set and then render that.
I just looked at the code again and if I understand your concern, it seems that this issue is fixed. Please confirm so that we can fix and close this issue.
I just looked at the code an we are still using independent sets in OderByManager and GroupByManager so this issue should still be present.