[Design] What is the sum aggregator for a non-existing value? #1999
anjakefala
started this conversation in
Ideas
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think converting null to 0 is trivial, but the second way to do it adds possible information that you can work with that wouldn't be there otherwise... I think both ways have their merit honestly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Kivell has never sold a Pencil.
Previously, his
mean_Pencil
would beNull
, and thesum_Pencil
would be 0.With 1c466d8 now the
sum_Pencil
is similarlyNull
.Which is your preferred behaviour? =)
Beta Was this translation helpful? Give feedback.
All reactions