asolimando commented on issue #21570:
URL: https://github.com/apache/datafusion/issues/21570#issuecomment-5147989938
This looks fixed by #22039, on current main all three repros return the
grand-total row:
```sql
CREATE TABLE test (category VARCHAR, value INT) AS VALUES ('a', 1);
SELECT category, count(*) FROM test WHERE value < 0 GROUP BY
ROLLUP(category);
-- NULL 0
SELECT category, count(*) FROM test WHERE value < 0 GROUP BY CUBE(category);
-- NULL 0
SELECT category, count(*) FROM test WHERE value < 0 GROUP BY GROUPING
SETS((), (category));
-- NULL 0
```
I don't have enough rights to close the issue but it should be.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]