databrickslabs / ucx

Your best companion for upgrading to Unity Catalog. UCX will guide you, the Databricks customer, through the process of upgrading your account, groups, workspaces, jobs etc. to Unity Catalog.
Other
196 stars 70 forks source link

Adding extra error handling as already exists error occurs #2077

Open pritishpai opened 1 week ago

pritishpai commented 1 week ago

Changes

CLI command create-catalogs-schemas sometimes fails if the catalog/schema already exists. The _get_missing_catalogs_schemas should help to avoid re-creating existing ones, but this seems like an edge case.

Linked issues

Resolves #1939

Functionality

Tests

pritishpai commented 1 week ago

image

github-actions[bot] commented 4 hours ago

✅ 39/39 passed, 1 flaky, 2 skipped, 2h50m53s total

Flaky tests:

Running from acceptance #4697