How adamnevriyanto/dbx-pipeline-integration works
This repository implements config-driven Databricks Spark Declarative Pipelines for Bronze-to-Silver ingestion and transformation, with S3 and JDBC source patterns. Pipelines load table definitions, transform and cleanse records, then apply SCD Type 1 updates to Silver tables. A separate notebook consolidates pipeline and job execution history into a Delta run log. The tutorial documents deployment configuration and secret handling; unsampled deployment wiring is represented only where the tutorial explicitly describes it.
Main entry points: cfzemp_pipeline.py Employee pipeline · config_load.py Config and JDBC loader · cfmast_pipeline.py Customer pipeline · cfaddr_pipeline.py Address pipeline
Components 20
Ingestion Pipelines
- Customer pipeline
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfmast_pipeline.py - Address pipeline
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfaddr_pipeline.py - Employee pipeline
pipelines/bronze_silver/cfzemp_pipeline.py - Dev customer pipeline
dab_dev_jeremi/src/pipeline_btn_development/transformations/cfmast_pipeline.py
Shared Transformation
- Config and JDBC loader
utils/config_load.py - Silver transformation
utils/sdp_silver_transform.py
Run Monitoring
- Unified run-log builder
unified_run_log_builder.py
Configuration
- Table definitions
config - Deployment settings
databricks.yml - Pipeline resource settings
resources/pipeline_employee.pipeline.yml - Integration tutorial
DAB Pipeline Integration - Tutorial Guide.py
Other components
- Data engineer
- S3 data
- JDBC source
- Databricks SDP
- Silver Delta tables
- Databricks secret scope
- Lakeflow system tables
- Pipeline event logs
- Unified run-log Delta table
Connections 27
- Customer pipeline → Config and JDBC loader: loads config
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfmast_pipeline.py - Customer pipeline → Silver transformation: transforms rows
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfmast_pipeline.py - Customer pipeline → S3 data: reads stream
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfmast_pipeline.py - Customer pipeline → Silver Delta tables: applies changes
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfmast_pipeline.py - Address pipeline → Config and JDBC loader: loads config
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfaddr_pipeline.py - Address pipeline → Silver transformation: transforms rows
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfaddr_pipeline.py - Address pipeline → S3 data: reads stream
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfaddr_pipeline.py - Address pipeline → Silver Delta tables: applies changes
pipelines/dummy_sdp_pipeline/transformations/pipeline_btn_development/cfaddr_pipeline.py - Employee pipeline → Config and JDBC loader: loads config
pipelines/bronze_silver/cfzemp_pipeline.py - Employee pipeline → Config and JDBC loader: gets JDBC options
pipelines/bronze_silver/cfzemp_pipeline.py - Employee pipeline → Silver transformation: transforms rows
pipelines/bronze_silver/cfzemp_pipeline.py - Employee pipeline → S3 data: reads stream
pipelines/bronze_silver/cfzemp_pipeline.py - Employee pipeline → JDBC source: reads JDBC
pipelines/bronze_silver/cfzemp_pipeline.py - Employee pipeline → Silver Delta tables: applies changes
pipelines/bronze_silver/cfzemp_pipeline.py - Dev customer pipeline → Silver transformation: transforms rows
dab_dev_jeremi/src/pipeline_btn_development/transformations/cfmast_pipeline.py - Dev customer pipeline → Config and JDBC loader: loads config
dab_dev_jeremi/src/pipeline_btn_development/transformations/cfmast_pipeline.py - Config and JDBC loader → Table definitions: reads YAML
utils/config_load.py - Config and JDBC loader → Databricks secret scope: fetches credentials
utils/config_load.py - Databricks SDP → Customer pipeline: runs pipeline
- Databricks SDP → Address pipeline: runs pipeline
- Databricks SDP → Employee pipeline: runs pipeline
- Deployment settings → Pipeline resource settings: supplies variables
- Pipeline resource settings → Databricks SDP: configures runtime
- Integration tutorial → Deployment settings: documents settings
DAB Pipeline Integration - Tutorial Guide.py - Unified run-log builder → Lakeflow system tables: queries runs
unified_run_log_builder.py - Unified run-log builder → Pipeline event logs: queries metrics
unified_run_log_builder.py - Unified run-log builder → Unified run-log Delta table: merges records
unified_run_log_builder.py