Interview practice question
Status codes from the source
Data Engineering · Data Modeling · Beginner
A source system stores order status as codes like 1, 2, 3 and 9. Analysts don't know what they mean. How do you handle it in the model?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Create a reference mapping table from code to description.
- Join it in staging or silver to add readable labels.
- Keep the original code as well.
- Handle unknown codes with a default and an alert.
- Maintain the mapping in version control or with the source owner.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.