Skip to content

Add experimental UniForm Iceberg enablement for migrated Delta tables#4855

Open
FastLee wants to merge 3 commits into
mainfrom
feature/enable-uniform-iceberg
Open

Add experimental UniForm Iceberg enablement for migrated Delta tables#4855
FastLee wants to merge 3 commits into
mainfrom
feature/enable-uniform-iceberg

Conversation

@FastLee

@FastLee FastLee commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds enable_uniform_iceberg experimental config flag (default: false) to WorkspaceConfig
  • When enabled, sets delta.columnMapping.mode = 'name', delta.universalFormat.enabledFormats = 'iceberg', and delta.enableIcebergCompatV2 = 'true' on all migrated Delta tables via ALTER TABLE SET TBLPROPERTIES
  • Applied across all migration paths (SYNC, DEEP CLONE, CTAS, HiveSerde in-place, tables-in-mounts) for Delta tables only
  • Not part of installation prompts — configured manually in config.yml

Closes #4401

Test plan

  • Unit tests: 4 new tests covering flag enabled/disabled, Delta/non-Delta tables, SYNC and DEEP CLONE paths
  • Integration test: end-to-end test migrating a managed Delta table with UniForm enabled, verifying properties on target
  • Verify integration test passes in CI

This pull request and its description were written by Isaac.

@CLAassistant

CLAassistant commented Jun 4, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.81%. Comparing base (22ba51e) to head (f87e2ad).

Files with missing lines Patch % Lines
...rc/databricks/labs/ucx/hive_metastore/workflows.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4855      +/-   ##
==========================================
+ Coverage   87.79%   87.81%   +0.01%     
==========================================
  Files         123      123              
  Lines       17595    17605      +10     
  Branches     3717     3718       +1     
==========================================
+ Hits        15448    15459      +11     
  Misses       1458     1458              
+ Partials      689      688       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@FastLee FastLee force-pushed the feature/enable-uniform-iceberg branch 3 times, most recently from 4be25e3 to 43dd261 Compare June 4, 2026 20:28
@FastLee FastLee marked this pull request as ready for review June 4, 2026 20:28
@FastLee FastLee requested a review from a team as a code owner June 4, 2026 20:28
@FastLee FastLee temporarily deployed to account-admin June 4, 2026 20:28 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

✅ 48/48 passed, 5 skipped, 6h39m44s total

Running from acceptance #9037

FastLee added 3 commits June 5, 2026 12:56
The databricks CLI's 'labs install' fetches the release list and source
zipball from api.github.com anonymously (it never reads GITHUB_TOKEN), so
it routinely hits GitHub's 60 req/hr unauthenticated rate limit on shared
runner IPs and fails with '403 Forbidden'. PR #4857's GITHUB_TOKEN env was
a no-op because the CLI ignores that variable.

Pre-fetch the release list and source archive with authenticated 'gh'
(5000 req/hr), seed the CLI's local cache and lib dir, then install with
--offline so no GitHub API calls are made.

Co-authored-by: Isaac
…grated tables

Adds `enable_uniform_iceberg` config option (default: false) that enables
Delta UniForm Iceberg compatibility on all migrated Delta tables post-migration.
Sets delta.columnMapping.mode, delta.universalFormat.enabledFormats, and
delta.enableIcebergCompatV2 via ALTER TABLE SET TBLPROPERTIES.

Closes #4401

Co-authored-by: Isaac
@FastLee FastLee force-pushed the feature/enable-uniform-iceberg branch from fecfdb5 to f87e2ad Compare June 5, 2026 17:41
@FastLee FastLee temporarily deployed to account-admin June 5, 2026 17:41 — with GitHub Actions Inactive
@FastLee FastLee enabled auto-merge June 5, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Uniform Enable Flag for Iceberg Compatibilty as part of Table Upgrade Process in UCX

2 participants