Explain ARRAYs and STRUCTs in BigQuery and why nested, repeated fields are idiomatic and performant
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what ARRAY and STRUCT types are in BigQuery and why storing one-to-many data as nested, repeated fields is a common design choice. Tests understanding of columnar storage, join and shuffle cost, querying nested data with UNNEST, and the trade-offs of denormalized schemas.