What are approximate aggregates like APPROX_COUNT_DISTINCT, and when should you trade exactness for speed and cost?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what approximate aggregate functions such as APPROX_COUNT_DISTINCT do in BigQuery and when accepting a small error is worth the savings. Tests your understanding of probabilistic sketches, the cost of exact distinct counts at scale, and which metrics must stay exact.