databricks-core-workflow-a

Featured

Execute Databricks primary workflow: Delta Lake ETL pipelines. Use when building data ingestion pipelines, implementing medallion architecture, or creating Delta Lake transformations. Trigger with phrases like "databricks ETL", "delta lake pipeline", "medallion architecture", "databricks data pipeline", "bronze silver gold".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks Core Workflow A: Delta Lake ETL ## Overview Build production Delta Lake ETL pipelines using the medallion architecture (Bronze > Silver > Gold). Uses Auto Loader (`cloudFiles`) for incremental ingestion, `MERGE INTO` for upserts, and Delta Live Tables for declarative pipelines. ## Prerequisites - Completed `databricks-install-auth` setup - Unity Catalog enabled with catalogs/schemas created - Access to cloud storage for raw data (S3, ADLS, GCS) ## Architecture ``` Raw Sources (S3/ADLS/GCS) │ Auto Loader (cloudFiles) ▼ Bronze (raw + metadata) │ Cleanse, deduplicate, type-cast ▼ Silver (conformed) │ Aggregate, join, feature engineer ▼ Gold (analytics-ready) ``` ## Instructions ### Step 1: Bronze Layer — Raw Ingestion with Auto Loader Auto Loader (`cloudFiles` format) incrementally processes new files as they arrive. It handles schema inference, evolution, and scales to millions of files. ```python from pyspark.sql import SparkSession from pyspark.sql.functions import current_timestamp, input_file_name, lit spark = SparkSession.builder.getOrCreate() # Streaming ingestion with Auto Loader bronze_stream = ( spark.readStream .format("cloudFiles") .option("cloudFiles.format", "json") .option("cloudFiles.schemaLocation", "/checkpoints/bronze/orders/schema") .option("cloudFiles.inferColumnTypes", "true") .option("cloudFiles.schemaEvolutionMode", "addNewColumns") .load("s3://data-lake/raw/orders/") ) # Add ing...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category