How ashwines/code-work works
This repository is a portfolio of independent data-engineering projects and learning examples, not one integrated application. The clearest end-to-end workflows are BFSI’s staged ETL, the EU retail Postgres-to-lake-to-marts pipeline, and Olist’s landing-to-raw-to-refined-to-marts lakehouse. The graph keeps these projects separate and includes the notebook examples and profiling utility as independent capabilities. Some relationships are evidenced by excerpts or the source index; unsampled modules are included where substantial, but are not given speculative call paths.
Main entry points: run_pipeline.py ETL orchestrator · ingestion_engine.py Ingestion engine · ods_pipeline.py ODS loading · edw_pipeline.py EDW loading
Components 32
BFSI ETL
- ETL orchestrator
BFSI/src/pipelines/run_pipeline.py - CSV staging
BFSI/src/pipelines/staging_pipeline.py - ODS loading
BFSI/src/pipelines/ods_pipeline.py - EDW loading
BFSI/src/pipelines/edw_pipeline.py - Mart loading
BFSI/src/pipelines/mart_pipeline.py - Configuration
BFSI/src/config.py - Database access
BFSI/src/database.py - Pipeline logging
BFSI/src/utils/logger.py - Data validators
BFSI/src/utils/validators.py - Layer transforms
BFSI/src/transforms
EU Retail Lake
- Daily DAG
eu-retail-analytics-platform/dags/pg_to_minio_lake.py - Ingestion engine
eu-retail-analytics-platform/src/ingestion/ingestion_engine.py
Olist Lakehouse
- Lakehouse DAG
olist-ecommerce-lakehouse/dags/olist_lakehouse_dag.py - Raw ingest DAG
olist-ecommerce-lakehouse/dags/olist_raw_ingestion_dag.py - Landing upload
olist-ecommerce-lakehouse/src/jobs/landing/upload_to_landing.py - Raw ingestion
olist-ecommerce-lakehouse/src/jobs/raw/ingest_to_raw.py - Refined cleaning
olist-ecommerce-lakehouse/src/jobs/refined/clean_to_refined.py - Mart building
olist-ecommerce-lakehouse/src/jobs/marts/build_marts.py - Spark session
olist-ecommerce-lakehouse/src/utils/spark_session.py
Notebook Examples
- Notebook commands
databricks_script/1_DATABRICKS_NOTEBOOK_FUNDAMENTALS/1_Explore_Notebooks_command_usage_and_examples.py - Notebook markdown
databricks_script/1_DATABRICKS_NOTEBOOK_FUNDAMENTALS/2_Explore_Notebook_Markdowns.py - Child notebook
databricks_script/1_DATABRICKS_NOTEBOOK_FUNDAMENTALS/4_child_notebook.py - Magic commands
databricks_script/1_USECASES_NB_FUNDAMENTALS/1_Usecase_Explore_Notebooks_magic_commands.py - Widgets and DBUtils
databricks_script/1_USECASES_NB_FUNDAMENTALS/2_Usecase_md_dbutils_widgets.py - Notebook data load
databricks_script/1_USECASES_NB_FUNDAMENTALS/4_child_nb_dataload.py
Data Utilities
- Data profiler
python_deai/script/data_profiler.py - Retail data seeder
eu-retail-analytics-platform/data_generator/seed_retail_db.py - Superset configuration
eu-retail-analytics-platform/superset_config.py
Other components
- Pipeline operator
- Postgres OLTP
- MinIO lake
- ClickHouse marts
Connections 26
- Pipeline operator → ETL orchestrator: starts
BFSI/src/pipelines/run_pipeline.py - ETL orchestrator → CSV staging: dispatches
BFSI/src/pipelines/run_pipeline.py - ETL orchestrator → ODS loading: dispatches
BFSI/src/pipelines/run_pipeline.py - ETL orchestrator → EDW loading: dispatches
BFSI/src/pipelines/run_pipeline.py - ETL orchestrator → Mart loading: dispatches
BFSI/src/pipelines/run_pipeline.py - CSV staging → ODS loading: loads staging
BFSI/src/pipelines/ods_pipeline.py - ODS loading → EDW loading: feeds ODS
BFSI/src/pipelines/edw_pipeline.py - EDW loading → Mart loading: feeds marts
BFSI/src/pipelines/mart_pipeline.py - CSV staging → Database access: loads tables
BFSI/src/pipelines/staging_pipeline.py - ODS loading → Database access: executes SQL
BFSI/src/pipelines/ods_pipeline.py - EDW loading → Database access: executes procedure
BFSI/src/pipelines/edw_pipeline.py - Mart loading → Database access: executes SQL
BFSI/src/pipelines/mart_pipeline.py - Database access → Configuration: loads settings
BFSI/src/database.py - CSV staging → Configuration: loads settings
BFSI/src/pipelines/staging_pipeline.py - ODS loading → Configuration: loads settings
BFSI/src/pipelines/ods_pipeline.py - EDW loading → Configuration: loads settings
BFSI/src/pipelines/edw_pipeline.py - Mart loading → Configuration: loads settings
BFSI/src/pipelines/mart_pipeline.py - ETL orchestrator → Pipeline logging: configures logs
BFSI/src/pipelines/run_pipeline.py - Daily DAG → Ingestion engine: dispatches tasks
eu-retail-analytics-platform/dags/pg_to_minio_lake.py - Ingestion engine → Postgres OLTP: extracts tables
eu-retail-analytics-platform/src/ingestion/ingestion_engine.py - Ingestion engine → MinIO lake: writes landing
eu-retail-analytics-platform/src/ingestion/ingestion_engine.py - Ingestion engine → MinIO lake: writes raw
eu-retail-analytics-platform/src/ingestion/ingestion_engine.py - Ingestion engine → ClickHouse marts: builds marts
eu-retail-analytics-platform/src/ingestion/ingestion_engine.py - Raw ingestion → Spark session: creates session
olist-ecommerce-lakehouse/src/jobs/raw/ingest_to_raw.py - Refined cleaning → Spark session: uses session
olist-ecommerce-lakehouse/src/jobs/refined/clean_to_refined.py - Mart building → Spark session: uses session
olist-ecommerce-lakehouse/src/jobs/marts/build_marts.py