You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/08/31 19:40:22 UTC
[jira] [Resolved] (DRILL-1342) Aggregate functions produce wrong
results when operating on null values
[ 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)