Skip to content

[BUG] SUM and AVG should return NULL if all the records are NULL #3404

@LantaoJin

Description

@LantaoJin

What is the bug?
SUM and AVG should return NULL if all the records are NULL. This applies with and without a GROUP BY clause.

Check CalciteStatsCommandIT.testGroupByNullValue()

Metadata

Metadata

Assignees

Labels

Priority-HighbugSomething isn't workingcalcitecalcite migration releated

Type

No type

Projects

Status

Not Started

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions