ucx icon indicating copy to clipboard operation
ucx copied to clipboard

Add table in mount migration

Open william-conti opened this issue 1 year ago • 1 comments

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

william-conti avatar Apr 02 '24 20:04 william-conti

✅ 169/169 passed, 25 skipped, 2h48m29s total

Running from acceptance #3431

github-actions[bot] avatar Apr 09 '24 14:04 github-actions[bot]

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.

codecov[bot] avatar May 21 '24 13:05 codecov[bot]