Jugen commented on code in PR #605:
URL: https://github.com/apache/cayenne/pull/605#discussion_r1486012235


##########
cayenne/src/main/java/org/apache/cayenne/access/translator/select/DefaultSelectTranslator.java:
##########
@@ -40,11 +40,11 @@ public class DefaultSelectTranslator implements 
SelectTranslator {
     private static final TranslationStage[] TRANSLATION_STAGES = {
             new ColumnExtractorStage(),
             new PrefetchNodeStage(),
-            new OrderingStage(),
             new QualifierTranslationStage(),
             new HavingTranslationStage(),
-            new GroupByStage(),
             new DistinctStage(),
+            new OrderingStage(),    // Relies on DistinctStage

Review Comment:
   Actually it may be better moving it into a separate `DistinctUtil` class ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to