How ttan-ttan/gensg_finalproject_olistanalysis works
This repository provides reusable PySpark cleaning, validation, and Gold-layer modeling code for Olist e-commerce analytics. The documented workflow moves raw data through Bronze ingestion, Silver cleaning, and Gold star-schema construction; the tree shown here contains the reusable Python modules, not the documented Fabric assets, orchestration, SQL, or BI artifacts. The graph therefore shows documented layer transitions and source-supported module relationships, without implying that the modules are wired into an executable pipeline. Validation and reporting helpers are represented as internal quality capabilities.
Main entry points: src Other Silver cleaning · cleaning_products.py Clean products · cleaning_reviews.py Clean reviews · cleaning_dim_date_gold.py Date dimension
Components 13
Silver transformations
- Clean products
src/cleaning_products.py - Clean reviews
src/cleaning_reviews.py - Other Silver cleaning
src
Gold modeling
- Date dimension
src/cleaning_dim_date_gold.py - Product dimension
src/cleaning_dim_product_gold.py - Seller dimension
src/cleaning_dim_seller_gold.py - Gold fact tables
src
Data quality
- Data validators
src - DQ reporting helpers
src/dq_summary.py
Other components
- Raw Olist data
- Bronze ingestion
- Microsoft Fabric Lakehouse
- Power BI analytics
Connections 17
- Raw Olist data → Bronze ingestion: lands raw data
README.md - Bronze ingestion → Clean products: feeds cleaning
README.md - Bronze ingestion → Clean reviews: feeds cleaning
README.md - Bronze ingestion → Other Silver cleaning: feeds cleaning
README.md - Clean products → Product dimension: supplies products
README.md - Clean reviews → Gold fact tables: supplies reviews
README.md - Other Silver cleaning → Date dimension: feeds modeling
README.md - Other Silver cleaning → Seller dimension: supplies sellers
README.md - Other Silver cleaning → Gold fact tables: supplies facts
README.md - Date dimension → Microsoft Fabric Lakehouse: writes Delta table
src/cleaning_dim_date_gold.py - Product dimension → Microsoft Fabric Lakehouse: writes Gold table
src/cleaning_dim_product_gold.py - Seller dimension → Microsoft Fabric Lakehouse: writes Gold table
src/cleaning_dim_seller_gold.py - Clean products → Data validators: validated by
src/validation_products.py - Clean reviews → Data validators: validated by
src/validation_reviews.py - Date dimension → Data validators: calls validation
src/cleaning_dim_date_gold.py - Seller dimension → Data validators: calls validation
src/cleaning_dim_seller_gold.py - Microsoft Fabric Lakehouse → Power BI analytics: serves analytics
README.md