by shigemk2

当面は技術的なことしか書かない

Prestoでifでtrueな値をsumしたい

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

Profile: electrum | Hacker News