SpinTheMic
Pro

Interview practice question

Query stuck on one stage

Data Engineering · BigQuery · Intermediate

A BigQuery query has one stage that runs much longer than others, and its max worker time is far higher than average. What's going on?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Data skew: one key has far more rows than others.
  • Common causes: NULL keys, default values, a huge customer.
  • Check key distribution with a GROUP BY count.
  • Filter or handle hot keys separately.
  • Pre-aggregate before joining.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics