drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1342) Aggregate functions produce wrong results when operating on null values
Date Tue, 26 Aug 2014 18:51:59 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Sinha updated DRILL-1342:
------------------------------

    Fix Version/s: 0.5.0

> Aggregate functions produce wrong results when operating on null values
> -----------------------------------------------------------------------
>
>                 Key: DRILL-1342
>                 URL: https://issues.apache.org/jira/browse/DRILL-1342
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen
>    Affects Versions: 0.4.0
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>             Fix For: 0.5.0
>
>
> If all input values are null, we are producing wrong results for certain aggregate functions.
 This shows up with the following query on TPC-DS: 
> {code:sql}
> select  sum(wr_return_quantity), min(wr_return_quantity) from web_returns where wr_return_quantity
is null;
> {code}



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

Mime
View raw message