Unity Catalog Migration Kit
Step-by-step migration toolkit from Hive Metastore to Unity Catalog. Assessment scripts, automated migration, validation tests, and rollback procedures.
📋 What's Inside 14 files
- ✓ README.md— Product overview and quick start guide
- ✓ notebooks/pre_migration_assessment.py— Scans Hive Metastore and generates comprehensive assessment report
- ✓ notebooks/automated_table_migration.py— Migrates tables from Hive to Unity Catalog using CTAS with validation
- ✓ notebooks/permission_mapper.py— Maps Hive permissions to Unity Catalog grants
- ✓ notebooks/post_migration_validation.py— Validates migration integrity with row counts, schema comparison, and data sampling
- ✓ terraform/unity-catalog-setup/main.tf— Unity Catalog metastore, catalogs, schemas, and external locations
- ✓ terraform/unity-catalog-setup/variables.tf— Configurable variables for the Terraform module
- ✓ terraform/unity-catalog-setup/outputs.tf— Terraform outputs for downstream consumption
- ✓ tools/migration_planner.py— Generates migration waves from assessment output
- ✓ tools/timeline_estimator.py— Estimates migration timeline based on table count and data volume
- ✓ guides/migration_guide.md— Step-by-step migration guide
- ✓ guides/day2_operations.md— Post-migration Unity Catalog operations guide
- ✓ guides/rollback_procedures.md— Rollback procedures for each migration stage
- ✓ templates/migration_planning_spreadsheet.csv— CSV template for migration wave planning
📁 File Structure 14 files
├── README.md
├── notebooks/
│ ├── pre_migration_assessment.py
│ ├── automated_table_migration.py
│ ├── permission_mapper.py
│ ├── post_migration_validation.py
├── terraform/
│ ├── unity-catalog-setup/
│ │ ├── main.tf
│ │ ├── variables.tf
│ │ ├── outputs.tf
├── tools/
│ ├── migration_planner.py
│ ├── timeline_estimator.py
├── guides/
│ ├── migration_guide.md
│ ├── day2_operations.md
│ ├── rollback_procedures.md
├── templates/
│ ├── migration_planning_spreadsheet.csv
📖 Documentation Preview README excerpt
Unity Catalog Migration Kit
By [Datanest Digital](https://datanest.dev) | Version 1.0.0 | $69
A comprehensive, production-ready toolkit for migrating from Databricks Hive Metastore to Unity Catalog. Includes automated assessment, migration notebooks, Terraform infrastructure-as-code, planning tools, and operational guides.
---
What's Included
Databricks Notebooks
| Notebook | Purpose |
|---|---|
| `pre_migration_assessment.py` | Scans Hive Metastore, catalogs all databases/tables/views/permissions, generates assessment report |
| `automated_table_migration.py` | Migrates tables from Hive to Unity Catalog using CTAS with full validation |
| `permission_mapper.py` | Maps legacy Hive permissions to Unity Catalog grants |
| `post_migration_validation.py` | Validates migration integrity: row counts, schema comparison, data sampling |
Terraform Module
| File | Purpose |
|---|---|
| `unity-catalog-setup/main.tf` | Full Unity Catalog metastore, catalogs, schemas, external locations |
| `unity-catalog-setup/variables.tf` | Configurable variables for all resources |
| `unity-catalog-setup/outputs.tf` | Outputs for downstream consumption |
CLI Tools
| Tool | Purpose |
|---|---|
| `migration_planner.py` | Generates migration waves from assessment output |
| `timeline_estimator.py` | Estimates migration timeline based on table count and data volume |
Guides
| Guide | Purpose |
|---|---|
| `migration_guide.md` | Step-by-step migration walkthrough |
| `day2_operations.md` | Post-migration Unity Catalog operations |
| `rollback_procedures.md` | Rollback procedures for each migration stage |
Templates
| Template | Purpose |
|---|---|
| `migration_planning_spreadsheet.csv` | CSV template for migration wave planning |
---
Quick Start
1. Run the Pre-Migration Assessment
Import notebooks/pre_migration_assessment.py into your Databricks workspace and run it. This produces a JSON assessment report cataloging every database, table, view, and permission in your Hive Metastore.
2. Plan Migration Waves
Use the CLI planner to generate migration waves from the assessment:
python tools/migration_planner.py \
--assessment-file assessment_report.json \
--max-tables-per-wave 50 \
--output waves.json
... preview truncated, see full README in product download.📄 Code Sample .py preview
📅 Changelog
v1.0.0 — Initial release.
Purchases include lifetime updates. Check the product page for the latest version.
📄 Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
📖 Interactive Reader (Free Preview)⚙ Try Demo Tools📦 Download Free Sample❓ Frequently Asked Questions
What license is this under?
MIT License. You can use it in commercial, client, and internal projects. See our license terms page for details.
How do I download after purchase?
Immediately after purchase, you'll be redirected to a download page. A download link is also sent to your email.
Do I get updates?
Yes. All products include lifetime updates at no extra cost. Re-download anytime for the latest version.
What if it doesn't work for me?
DM @DatanestDigital on X and we'll make it right.
Can I get a refund?
DM @DatanestDigital on X with your order number and we'll help.
Is there support?
DM @DatanestDigital on X. We respond within 1-2 business days.