How skoga02/marathos_julius_falt_skoglund works
This repository defines a Databricks/PySpark marathon-results analytics pipeline: stream race data into a Bronze table, clean and standardize it in Silver, then organize Gold outputs as dimensions, a fact table, and distance/time marts. The sampled Silver code reads Bronze and uses a shared column-renaming utility; the tree identifies the Gold model files but their SQL was not sampled. The archived Silver implementation is retained as a distinct legacy component. The supplied README gives no further product details, so Gold-stage connections are shown as unverified.
Main entry points: marathos_silver_obt_2.0.py Cleaned results · raw_supply_chain.py Raw supply chain · utils.py Column renaming · marathos_silver_obt.py Legacy cleaner
Components 9
Bronze ingestion
- Raw supply chain
marathos_julius_laboration/transformations/bronze/raw_supply_chain.py
Silver cleaning
- Cleaned results
marathos_julius_laboration/transformations/silver/marathos_silver_obt_2.0.py - Legacy cleaner
marathos_julius_laboration/arcive/marathos_silver_obt.py
Gold analytics
- Athlete and event dimensions
marathos_julius_laboration/transformations/gold - Results fact
marathos_julius_laboration/transformations/gold/fct_results.sql - Distance mart
marathos_julius_laboration/transformations/gold/mart_distance_events.sql - Time-events mart
marathos_julius_laboration/transformations/gold/mart_time_events.sql
Shared utilities
- Column renaming
marathos_julius_laboration/utilities/utils.py
Other components
- Race CSV data
Connections 9
- Race CSV data → Raw supply chain: loads CSV
marathos_julius_laboration/transformations/bronze/raw_supply_chain.py - Raw supply chain → Cleaned results: reads stream
marathos_julius_laboration/transformations/silver/marathos_silver_obt_2.0.py - Column renaming → Cleaned results: renames columns
marathos_julius_laboration/transformations/silver/marathos_silver_obt_2.0.py - Raw supply chain → Legacy cleaner: reads stream
marathos_julius_laboration/arcive/marathos_silver_obt.py - Column renaming → Legacy cleaner: renames columns
marathos_julius_laboration/arcive/marathos_silver_obt.py - Cleaned results → Athlete and event dimensions: feeds models
- Cleaned results → Results fact: feeds model
- Cleaned results → Distance mart: feeds mart
- Cleaned results → Time-events mart: feeds mart