Interview practice question
Broadcast join failing after data growth
Data Engineering · Spark · Experienced
A job that has run for a year now fails with out-of-memory errors in a broadcast join. Nothing in the code changed. What happened?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- The broadcast side grew over time.
- A broadcast hint or high threshold forces broadcasting a now-large table.
- The whole table must fit on the driver and every executor.
- Remove the hint or lower the threshold, or filter the table first.
- Monitor table sizes used in broadcast joins.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.