Github user LosD commented on a diff in the pull request:

    https://github.com/apache/metamodel/pull/165#discussion_r148126897
  
    --- Diff: 
core/src/main/java/org/apache/metamodel/QueryPostprocessDataContext.java ---
    @@ -192,8 +198,8 @@ public DataSet executeQuery(final Query query) {
     
             // we can now exclude the select items imposed by the WHERE clause 
(and
             // should, to make the aggregation process faster)
    -        workSelectItems = CollectionUtils.concat(true, selectItems, 
groupBySelectItems, havingSelectItems,
    -                orderBySelectItems);
    +        workSelectItems =
    +                CollectionUtils.concat(true, selectItems, 
groupBySelectItems, havingSelectItems, orderBySelectItems);
    --- End diff --
    
    Unrelated change.


---

Reply via email to