Interview practice question
Tracking what changed in a table
Data Engineering · BigQuery · Intermediate
The business wants to see what changed in a BigQuery table each day, including updates and deletes. How can you provide it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Use the CHANGES table-valued function where supported, within the time travel window.
- Or compare snapshots with EXCEPT DISTINCT or FULL OUTER JOIN.
- Or capture CDC from the source with Datastream.
- Store change history in an audit table.
- Choose based on retention needs.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.