drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-791) Using two aggregate functions in a query causes wrong results.
Date Tue, 20 May 2014 20:24:38 GMT

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

Aman Sinha commented on DRILL-791:
----------------------------------

I have a fix for this that I am testing. 

> Using two aggregate functions in a query causes wrong results.
> --------------------------------------------------------------
>
>                 Key: DRILL-791
>                 URL: https://issues.apache.org/jira/browse/DRILL-791
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Mehant Baid
>            Assignee: Aman Sinha
>
> select min(employee_id), max(employee_id) from cp.`employee.json`;
> +------------+------------+
> |   EXPR$0   |   EXPR$1   |
> +------------+------------+
> | 1          | 1          |
> +------------+------------+
> In the above query we return the same result for both Min and Max. This seems to be related
to multi phase aggregate not picking the correct ordinal. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message