If you regularly work with ARRAY's in BigQuery, you may sometimes experience errors when trying to access specific indexes of an ARRAY, if the index doesn't exist.
To avoid the query failing with an error you can instead define the index with SAFE_OFFSET(x).
QueryStash
Created: Feb 27th 2023