Open
Description
Is it possible to use aggregates directly over nullable columns? Of course one can manage by filtering and coalescing, but this seems like an unnecessary complication. In particular, it's easy to get avg_
wrong when you coalesce first because each row will still count toward the average. Other aggregates like sum_
don't have this danger.