Extract from CSV and PostgreSQL, transform with star schema modeling, load into Snowflake with SCD Type 2 history tracking.
End-to-end pipeline from source to warehouse
Central fact table surrounded by dimension tables
How dimension records evolve over time
| Key | Name | City | Valid From | Valid To | Current |
|---|---|---|---|---|---|
| 101 | Vikrant | Adelaide | 2023-01-15 | 9999-12-31 | Y |
| Key | Name | City | Valid From | Valid To | Current |
|---|---|---|---|---|---|
| 101 | Vikrant | Adelaide | 2023-01-15 | 2024-06-01 | N |
| 102 | Vikrant | Melbourne | 2024-06-01 | 9999-12-31 | Y |
Key queries powering the pipeline