Prestoでifでtrueな値をsumしたい
こう。
sum(if(bar, foo))
We also have a count_if() function: count_if(bar)
In Presto, we support the popular but non-standard IF construct as a shorthand f... | Hacker News
Prestoでifでtrueな値をsumしたい
こう。
sum(if(bar, foo))
We also have a count_if() function: count_if(bar)
In Presto, we support the popular but non-standard IF construct as a shorthand f... | Hacker News