Why AQE Coalesces Shuffle Partitions (and When It Can't Help)
How Adaptive Query Execution merges small shuffle partitions at runtime, the settings that control it, and the cases where you still have to tune.
Azure · Databricks · Spark · dbt
Field notes, PDF guides, practice problems and videos from a Lead Data Engineer with 13 years across Azure and Databricks projects.
Everything is free to read. New notes land every week.
MERGE INTO silver.orders AS t
USING bronze_updates AS s
ON t.order_id = s.order_id
WHEN MATCHED AND s.updated_at > t.updated_at
THEN UPDATE SET *
WHEN NOT MATCHED
THEN INSERT *;
-- idempotent: re-runs are safeHow Adaptive Query Execution merges small shuffle partitions at runtime, the settings that control it, and the cases where you still have to tune.
Both load files into Delta exactly once. The choice comes down to file volume over the table's lifetime, who maintains the pipeline, and how often you need to reload a subset.
Twenty scenario-based data modeling problems asked in data engineer and analytics engineer interviews, with what the interviewer is checking and a strong answer for each.
Small datasets, realistic scenarios, worked solutions. Start where you are and work up a tier.
A printable checklist for designing and reviewing bronze, silver and gold layers — naming, quality gates, ownership and the questions to ask at each hop.
Reference guide to the Azure Data Factory patterns that carry enterprise projects: metadata-driven loads, watermarks, error handling, and environment promotion.
How to lay out a dbt project that scales past 200 models: staging/intermediate/marts layers, naming, tests, and the refactors to do early.
Watch a bronze → silver → gold pipeline built end to end on Databricks, and learn what each layer actually promises.
See exactly which files a MERGE rewrites, then watch partition pruning cut a 300 GB rewrite down to 4 GB.
A guided tour of Unity Catalog's object model — metastore, catalogs, schemas, tables and volumes — and where permissions actually attach.