Slackbot
02/15/2024, 4:30 PMMaor Elias
02/15/2024, 4:36 PMCOALESCE(sum(X),0) ---> returns nullMaor Elias
02/15/2024, 4:59 PMuseDefaultValueForNull setting is disabled on our cluster,
Also, it seems like the behavior I mentioned is a bug that was fixed in version 0.22, but unfortunately we cannot upgrade to it at the moment.
Any known workarounds except for enabling useDefaultValueForNull?John Kowtko
02/15/2024, 7:09 PMMaor Elias
02/15/2024, 7:14 PMsum(X) + 0, unfortunately it doesn’t work 😞 (still returns null)John Kowtko
02/15/2024, 7:15 PMsum(nvl(x,0)) ?Maor Elias
02/15/2024, 7:18 PMMaor Elias
02/15/2024, 7:22 PMsum(coalesce(x,0)) seems to work