[
https://issues.apache.org/jira/browse/BEAM-12647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385165#comment-17385165
]
Kyle Weaver commented on BEAM-12647:
------------------------------------
Thanks for finding all the dupes Andrew. I intended this to be more of a common
root cause, since COUNT isn't the only function with this problem – it seems to
affect all aggregations.
> Aggregations on empty pcoll don't return a value.
> -------------------------------------------------
>
> Key: BEAM-12647
> URL: https://issues.apache.org/jira/browse/BEAM-12647
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql, dsl-sql-zetasql
> Reporter: Kyle Weaver
> Priority: P3
>
> {{For example, "SELECT COUNT(\*) FROM table_empty" should return 0, but
> instead it returns no value.}}
> cc [~benglez] [~apilloud]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)