there are 1.026 rows with 944 unique modemio_cat_ids
how can I return a query that nests all non null columns into 1 single array called "parents" for each modemio_cat_id ?
example: for modemio_cat_id = 1111118
and then finally group by modemio_cat_id + cumulate all array in case of duplicates
wrong approach: this query returns always the same arrays for each modemutti_cat_id:
SELECT modemio_cat_id, ARRAY (
SELECT AS STRUCT cat1_id, cat2_id FROM `modemutti-8d8a6.categorization.test`
) as parent
FROM `modemutti-8d8a6.categorization.test`
group by modemio_cat_id


