You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to complete full analysis and processing part using only python, however I have good knowledge about DuckDB, SQL, Parquet, local warehouse, BigQuery and others tools those have mention.
But I realised that this full tasks can be solve using only python code;
You can check full python code and instructions in '''data_engineering.ipynb'''.
Where in beginning I processed:
1. Duplicate events (same event_id repeated)
2. Conflicting duplicates (same event_id, different payload such as amount/currency)
3. Out‑of‑order events (file order is not time order)
4. Late/early timestamps (including refunds that appear earlier than purchase timestamps)
5. Schema evolution (schema_version 1 and 2)
6. Inconsistent timestamp formats (ISO Z, ISO with offset, and some YYYY-MM-DD HH:MM:SS)
7. Corrupted rows (invalid JSON lines in the NDJSON)