ucx
ucx copied to clipboard
Add table in mount migration
Changes
Added a functionality to migrate tables in mounts to Unity Catalog.
Functionality
- [x] Creates a table in UC based on the table mapping csv file.
- [x] Fixes include_paths_in_mount not being present in workflows.py
- [x] Adds a functionality to set a default ownership on each table created.
Tests
- [X] manually tested
- [X] added unit tests
- [x] added integration tests
Codecov Report
Attention: Patch coverage is 95.87629% with 4 lines in your changes are missing coverage. Please review.
Project coverage is 89.73%. Comparing base (
c6854c4) to head (115db64).
| Files | Patch % | Lines |
|---|---|---|
| ...atabricks/labs/ucx/hive_metastore/table_migrate.py | 89.28% | 3 Missing :warning: |
| ...rc/databricks/labs/ucx/hive_metastore/workflows.py | 92.30% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #1225 +/- ##
==========================================
+ Coverage 89.66% 89.73% +0.06%
==========================================
Files 93 93
Lines 11410 11474 +64
Branches 2007 2019 +12
==========================================
+ Hits 10231 10296 +65
Misses 794 794
+ Partials 385 384 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.