Trying to use function ARRAY_AGG
and to get it to ignore null values but the doc does not give any info about that. Tried using "IGNORE NULLS" that spanner recognizes but wont consider as valid.
Example:
SELECT ARRAY_AGG(x IGNORE NULLS) FROM UNNEST([1,NULL,2,3]) x
That throws: IGNORE NULLS and RESPECT NULLS in aggregate functions are not supported