Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.35.0
-
None
Description
ARRAY_AGG in BigQuery and Postgres returns NULL if there are zero input rows or expression evaluates to NULL for all rows.
However, it will return `ARRAY<arg0> NOT NULL` in the return type of the function definition.
https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functions#array_agg
https://www.postgresql.org/docs/8.4/functions-aggregate.html
Attachments
Issue Links
- links to