-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve creating UC catalogs (#2898)
## Changes Ran into a couple improvements when manually testing #2744: - We request the catalog location also when the catalog already exists. Solved by checking if a catalog exists before requesting the storage location - Multiple loops over the storage locations are not supported as the iterator is empty after first loop. Solved by emptying the external locations in a list. - More consistent: - Logging - Matching storage locations ### Linked issues Resolves #2879 ### Functionality - [x] modified existing command: `databricks labs ucx create-ucx-catalog/create-catalogs-schemas` ### Tests - [x] manually tested - [x] added unit tests
- Loading branch information
1 parent
3983fbe
commit bb3768a
Showing
3 changed files
with
72 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters