You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2014/08/26 20:51:57 UTC

[jira] [Created] (DRILL-1342) Aggregate functions produce wrong results when operating on null values

Aman Sinha created DRILL-1342:
---------------------------------

             Summary: 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


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)