Lesson 07
How does bigquery handle nested and repeated fields using STRUCT and ARRAY internally
STRUCT (a.k.a. RECORD) — a fixed group of named fields, like a row inside a row ARRAY — a repeated value of any type, including STRUCTs Combined, you get arbitrarily deep schemas — an order with line items, each line item with multiple discounts, each discount with a campaign reference. In a relational DB this would be 4 tables and 3 joins. In BigQuery it's one row.
Get the full lesson
Sign in to unlock everything beyond the preview — it's free.
- Take timestamped notes as you watch
- Read the full transcript and download resources
- Join the discussion and track your progress