Rui Wang created BEAM-8039:
------------------------------
Summary: SUM(CASE WHEN xxx THEN 1 ELSE 0)
Key: BEAM-8039
URL: https://issues.apache.org/jira/browse/BEAM-8039
Project: Beam
Issue Type: Sub-task
Components: dsl-sql
Reporter: Rui Wang
java.lang.RuntimeException: Aggregate function only accepts Column Reference or
CAST(Column Reference) as its input.
I was able to rewrite SQL using WITH statement, and it seemed to work, but
requires us rewriting a lot of queries and makes them pretty much unreadable.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)