troywinter
05/26/2021, 3:59 AMXiang Fu
troywinter
05/26/2021, 5:29 AMJackie
05/26/2021, 6:34 AMhaving sum(b) != 0
and see if it solves the problem?troywinter
05/26/2021, 6:37 AMJackie
05/26/2021, 6:37 AMNaN
with 0
. Udf on aggregation results is supported (post-aggregation), e.g. sum(a)/sum(b)
Jackie
05/26/2021, 6:38 AMreplaceNaN(sum(a)/sum(b))
and plug in replaceNaN(double value)
troywinter
05/26/2021, 6:38 AMtroywinter
05/26/2021, 6:39 AMtroywinter
05/26/2021, 6:40 AMJackie
05/26/2021, 6:41 AMJackie
05/26/2021, 6:42 AMtroywinter
05/26/2021, 6:48 AM