databricks-upgrade-migration

Featured

Upgrade Databricks runtime versions and migrate between features. Use when upgrading DBR versions, migrating to Unity Catalog, or updating deprecated APIs and features. Trigger with phrases like "databricks upgrade", "DBR upgrade", "databricks migration", "unity catalog migration", "hive to unity".

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 Upgrade & Migration ## Overview Upgrade Databricks Runtime versions and migrate from Hive Metastore to Unity Catalog. Covers version compatibility, deprecated config removal, table migration via SYNC/CTAS, API endpoint updates, and Delta protocol upgrades. ## Prerequisites - Admin access to workspace - Test environment (dev/staging) for validation before prod - Inventory of current workloads and dependencies ## Instructions ### Step 1: Runtime Version Upgrade #### Version Compatibility Matrix | Current DBR | Target DBR | Key Changes | Effort | |-------------|------------|-------------|--------| | 12.x LTS | 13.3 LTS | Spark 3.4, Python 3.10 default | Low | | 13.3 LTS | 14.3 LTS | Spark 3.5, improved AQE, Liquid Clustering GA | Medium | | 14.x | 15.x LTS | Unity Catalog mandatory, legacy DBFS deprecated | High | #### Automated Upgrade Script ```python from databricks.sdk import WorkspaceClient w = WorkspaceClient() def plan_cluster_upgrade( cluster_id: str, target_version: str = "14.3.x-scala2.12", dry_run: bool = True, ) -> dict: """Plan and optionally execute a DBR version upgrade.""" cluster = w.clusters.get(cluster_id) plan = { "cluster_id": cluster_id, "cluster_name": cluster.cluster_name, "current_version": cluster.spark_version, "target_version": target_version, "removals": [], "warnings": [], } # Check for deprecated Spark configs deprecated = { "spark.data...

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