weihua zhang created SPARK-53565:
------------------------------------

             Summary: return wrong result for some aggregate functions when 
groupSets contains '{}'
                 Key: SPARK-53565
                 URL: https://issues.apache.org/jira/browse/SPARK-53565
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.1
            Reporter: weihua zhang


{code:sql}
CREATE TABLE emp(
    empno INT,
    job STRING,
    deptno INT
) USING PARQUET;

select sum(empno) from emp  group by rollup(deptno, job);
{code}

should return one row one column of null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to