[ 
https://issues.apache.org/jira/browse/METAMODEL-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387018#comment-14387018
 ] 

ASF GitHub Bot commented on METAMODEL-128:
------------------------------------------

Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/13#issuecomment-87759734
  
    Yes normally I would also be in favor of making a copy. But in this case it 
is really a "reference" and not an independent item. So if you change that then 
I think we can make the general change a lot less - then you don't need to make 
the clone method public and you don't need to change the existing unittest.


> Ordering on aggregation value not working
> -----------------------------------------
>
>                 Key: METAMODEL-128
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-128
>             Project: Apache MetaModel
>          Issue Type: Bug
>    Affects Versions: 4.3.2
>            Reporter: Ashish Mukherjee
>
> I am using a CSV Data Context example with multiple fields - occurrences, 
> first_name, last_name. 
> The query -
> SELECT SUM(persons.csv.occurrences) AS X, persons.csv.first_name FROM 
> ashish.persons.csv GROUP BY persons.csv.first_name ORDER BY X
> This query always orders the results by first_name and not the aggregation 
> value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to