BigQuery : is it possible to iterate over an array?
Is it possible to iterate over an array in bigquery in standard sql? Basically declare an array of strings representing table fields. ex : DECLARE FIELDS_TO_CHECK ARRAY<STRING>; SET FIELDS_TO_CHECK = ['field1', 'field2', 'field3' ]; and then iterate on this array to create requests getting percentage of non null value on this field : select count(FIELD