drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1342) Aggregate functions produce wrong results when operating on null values
Date Sun, 31 Aug 2014 17:40:22 GMT

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

Jacques Nadeau resolved DRILL-1342.
-----------------------------------
    Resolution: Fixed

> 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.3.4#6332)

Mime
View raw message