BigQuery argmax: Is array order maintained when doing CROSS JOIN UNNEST
问题 Question: In BigQuery, standard SQL, if I run SELECT * FROM mytable CROSS JOIN UNNEST(mytable.array) Can I be certain that the resulting row order is the same as the array order? Example: Let's say I have the following table mytable : Row | id | prediction 1 | abcd | [0.2, 0.5, 0.3] If I run SELECT * FROM mytable CROSS JOIN UNNEST(mytable.prediction) , can I be certain that the row order is the same as the array order? I.e. will the resulting table always be: Row | id | unnested_prediction 1