Why can CROSS JOINs be dangerous in BigQuery, and how do you avoid accidental ones?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks why cross joins are risky in BigQuery and how to prevent accidental Cartesian products. Tests understanding of row explosion, slot and runtime cost, many-to-many fan-out that inflates aggregates, safe join patterns, and correct use of UNNEST for arrays.