Goal#
Build the same workflow companies use - at a tiny scale - so you can explain it confidently in interviews:
sales_raw.csv ──► RAW (bronze) ──► clean (silver, Parquet) ──► SQL views (gold) ──► Dashboard
इस project में आप cloud पर एक छोटी लेकिन असली data pipeline बनाएंगे: कच्ची file (raw) → साफ़ data (clean, Parquet) → SQL views (business-ready) → dashboard। Interview में "मैंने cloud पर pipeline बनाई है" कह पाना बहुत बड़ा plus point है।
Choose your track#
| Step | Track A - AWS | Track B - Azure |
|---|---|---|
| Storage | S3 bucket raw/, clean/, athena-results/ |
ADLS Gen2 / Fabric Lakehouse Files/raw, Tables |
| Clean | Athena CTAS to Parquet (or a Glue job) | Dataflow Gen2 (Power Query online) or a Fabric notebook (pandas) |
| SQL model | Athena views | Lakehouse SQL endpoint / Warehouse views |
| Dashboard | QuickSight or Power BI (Athena connector) | Power BI (Direct Lake / SQL endpoint) |
- sales_raw.csv - the messy file (bronze)
- sales.csv - full clean history to load as well
- Raw layer: upload
sales_raw.csvandsales.csvunchanged to araw/area. - Clean layer: produce a cleaned, typed, deduplicated table stored as Parquet/Delta:
- AWS: create a table over raw CSV, then
CREATE TABLE ... WITH (format='PARQUET')selecting cleaned columns (usetrim,upper/lower,replace,try_cast,date_parsefor mixed dates). - Azure/Fabric: Dataflow Gen2 with the same steps you did in Power Query, output to a Lakehouse table. - Gold layer: create SQL views:
-
v_sales_monthly(month, region, sales, profit, orders) -v_category_margin(category, sales, profit, margin %) -v_target_achievement(2025 region sales vs targets) - Dashboard: one page with KPIs, monthly trend, region vs target, category margin.
- Design document (1 page): sources, layers, schedule (how it would refresh daily), access (who can read what), estimated monthly cost, and owner.
- Clean up: delete or pause resources; screenshot the billing page showing near-zero cost.
Validation checks
- Clean layer from
sales_raw.csv: 300 rows, 19 cities, no blank regions after the city lookup, dates 2024-01-01 to 2024-06-29. - From
sales.csv: 2025 region achievement East 110.4%, North 102.1%, West 97.8%, Central 95.4%, South 90.2% (targets: North 12 L, South 11.5 L, East 9.5 L, West 12.5 L, Central 9 L).
Going further with real Kaggle data#
Upload the Olist CSV files (kaggle.com/datasets/olistbr/brazilian-ecommerce) to your raw layer, convert the large tables to Parquet, and re-run three of your SQL-module Olist queries in Athena or the Fabric SQL endpoint. Compare data scanned / query time between CSV and Parquet.
Interview talking points#
- "I built a bronze-silver-gold pipeline: raw CSV in S3 / OneLake, cleaned to Parquet with SQL, gold views feeding a dashboard."
- "Converting to Parquet reduced data scanned per query significantly; partitioning by year reduced it further."
- "I documented access, refresh schedule and cost, and cleaned up resources after testing."
Summary#
- You've built raw → clean → gold → dashboard in the cloud.
- The same skills (Power Query, SQL, pandas, Power BI) power cloud platforms.
- Document, secure, estimate cost and clean up - like a professional.