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)

Reply via email to