Home / Databricks on Azure

Databricks on Azure

Azure Databricks design, security, ingestion, storage, tables and pipelines with Data Factory. 113 posts.

Databricks on Azure / How-to

Refreshing test environments with Delta deep and shallow clones on Databricks

Use shallow clones for fast, cheap test copies and deep clones for independent copies, refresh them incrementally, mask sensitive columns, keep them inside Unity Catalog permissions, and avoid the shallow-clone trap where VACUUM on the source breaks the clone.

4 min readAdvanced

Databricks on Azure / Runbook

Sev1: an IP access list change locked everyone out of the Databricks workspace

After an IP access list update, users and integrations get "Source IP address is blocked by Databricks IP ACL". Regain access from an allowed address or through the account console, fix or disable the list, and roll changes out with a tested allow list next time.

4 min readAdvanced

Databricks on Azure / Runbook

Sev1: dozens of Databricks jobs fail at once after a cluster policy change

Overnight jobs fail with INVALID_PARAMETER_VALUE or "validation failed for ... policy" errors after a platform team tightened a cluster policy. Find the failing rule, roll the policy back or relax it, repair runs, and introduce a policy change process that tests existing jobs first.

4 min readAdvanced

Databricks on Azure / Checklist

Databricks Runtime 18 query results that changed in 2026 - NATURAL JOIN case matching, LATERAL EXPLODE nulls and windowed min/max on binary columns

Several 2026 fixes in Databricks Runtime 18 change query results rather than throwing errors - NATURAL JOIN now matches columns case-insensitively, LEFT JOIN LATERAL with EXPLODE keeps rows it used to drop, and windowed min/max on BinaryType columns now returns per-frame values. Find the queries that could be affected and decide whether to accept the new results.

3 min readAdvanced

Databricks on Azure / Troubleshooting

DStream jobs fail to recover from checkpoint after the July 2026 Databricks update - setting spark.streaming.checkpoint.allowedClasses

Since the 24 July 2026 maintenance update for Databricks Runtime 18 LTS and 18.2, legacy DStream jobs that put custom or third-party types in closures must list those classes in spark.streaming.checkpoint.allowedClasses before checkpoint recovery. Find the classes, set the config, and plan the move to Structured Streaming.

3 min readAdvanced

Databricks on Azure / How-to

Advisory: Git folders and branching strategy for Databricks teams

Teams get into trouble when notebooks are edited in place in production or several people work on the same branch in one Git folder. Use personal Git folders on feature branches, keep code in files and wheels where sensible, choose a simple branching model, and deploy only through CI with Asset Bundles.

2 min readIntermediate

Databricks on Azure / How-to

Advisory: networking for Databricks serverless on Azure - network connectivity configs, private endpoints and egress control

Serverless compute runs in Databricks' account, not your VNet, so classic VNet injection rules don't apply. Use network connectivity configurations for stable egress identities and private endpoints to your resources, control outbound access with serverless network policies, and design firewall rules on storage and other services around them.

2 min readAdvanced

Databricks on Azure / Cheat sheet

Advisory: sharing data from Databricks - Delta Sharing, Clean Rooms, Marketplace or copying

Teams often export files to share data, creating uncontrolled copies. Choose Databricks-to-Databricks or open Delta Sharing for live read access, Clean Rooms when neither side may see the other's raw data, Marketplace for wider distribution, and copying only when the recipient truly needs it, with governance and audit for each.

2 min readIntermediate

Databricks on Azure / How-to

Optimization: Lakeflow Declarative Pipelines cost - triggered vs continuous, serverless, product edition and refresh scope

Declarative pipelines (formerly Delta Live Tables) are easy to build and easy to overspend on. Run triggered instead of continuous where latency allows, choose the lowest product edition that has the features you use, prefer serverless or tuned classic compute, refresh only what changed, and keep development mode out of production.

2 min readIntermediate

Databricks on Azure / How-to

Optimization: serverless jobs and notebooks on Azure Databricks - performance-optimized vs standard mode and budget policies

Serverless compute removes cluster start time and tuning, but its cost depends on how it's used. Pick performance-optimized or standard mode per job, use budget policies to attribute spend, watch for long-running interactive notebooks, and compare cost per run with classic job compute before moving everything.

2 min readIntermediate

Databricks on Azure / How-to

Optimization: the hidden Azure costs around Databricks - ADLS transactions, private endpoints, NAT and cross-region traffic

Besides DBUs and VMs, a Databricks platform drives storage transactions, private endpoint data processing, NAT gateway and cross-region charges. Find them in Azure Cost Management, cut storage operations with compaction and fewer listings, keep compute and storage in one region, and check what each network path costs.

3 min readIntermediate

Databricks on Azure / Troubleshooting

Sev1: every Databricks cluster terminates at start — init script failure

Fix clusters and jobs that terminate with an init script failure. Find the script's log, check common causes (moved location, blocked downloads, apt locks, bad line endings), hotfix the script and move scripts to Unity Catalog volumes or workspace files.

3 min readIntermediate

Databricks on Azure / Runbook

Sev1: nobody can administer Unity Catalog — account admin or metastore admin lost

Regain administration of an Azure Databricks account and Unity Catalog metastore after the only admin left, an admin group was deleted in Entra ID or SCIM removed members. Use Entra Global Administrator bootstrap rights, restore groups and set up resilient admin ownership.

3 min readAdvanced

Databricks on Azure / How-to

Transformation: single-node pandas jobs to PySpark (or pandas API on Spark)

Fix jobs that run pandas on the driver and die with out-of-memory errors as data grows. Recognise driver-bound code, convert common pandas operations to PySpark, use pandas API on Spark or applyInPandas where it helps, and validate results.

2 min readIntermediate

Databricks on Azure / Runbook

Transformation: Synapse Spark pools and notebooks to Azure Databricks

Move Spark workloads from Azure Synapse Spark pools to Azure Databricks. Map pools to clusters, Synapse lake database tables to Unity Catalog, mssparkutils to dbutils, linked services to external locations, and pipelines to Workflows or ADF.

2 min readIntermediate

Databricks on Azure / Runbook

Transformation: upgrade from the Hive metastore to Unity Catalog with UCX

Move tables, permissions, jobs and code from the workspace Hive metastore to Unity Catalog using Databricks Labs UCX. Assessment, group migration, storage credentials and external locations, table upgrade, code changes and cutover.

3 min readAdvanced

Databricks on Azure / How-to

A Delta lakehouse blueprint for Azure Databricks: catalogs, medallion layers, loading patterns and data products

A reusable design for a Delta lakehouse on Azure Databricks. Covers how to lay out Unity Catalog catalogs and schemas, what belongs in bronze, silver and gold, standard loading patterns (append, MERGE, SCD2, snapshot), table settings, data quality, compute per workload, and how to publish gold tables as governed data products.

7 min readAdvanced