Skip to content
Preptima
mediumScenarioCodingTake HomeMidSenior

You get a messy customer export and three hours to turn it into something they can use. What do you build first?

Build the data profile and a validation report first, not the dashboard. Read every column as text, infer types from evidence, show the customer what you found within the first hour, then load accepted rows idempotently into a staging table with a rejected-rows file that explains every exclusion.

5 min readUpdated 2026-10-10

Answer

Short answer

Build the profile and the data validation report first. A messy customer export hides its problems in types, keys and grain, so read every column as text, infer types from evidence, and show the customer what you found within the first hour. Then load the rows that pass into a staging table with a load that is safe to rerun, and write every rejected row to a file with its reason.

Was this answer helpful?

Likely follow-ups

  • The customer sends a corrected export halfway through. What in your design lets you rerun without double-counting?
  • A fifth of rows fail one rule. When do you exclude them, and when do you relax the rule instead?
  • How would you infer that a column holds day-first rather than month-first dates when most values are ambiguous?
  • What would you write in the handover note if you had only ten minutes left?

Related questions