Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/databricks/labs/ucx/account/metastores.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ def assign_metastore(
else:
metastore_id = list(metastore_choices.values())[0]
self._ac.metastore_assignments.create(workspace_id, metastore_id)
logger.info(f"Metastore {metastore_id} assigned to workspace {workspace_id}")
# set the default catalog using the default_namespace setting API
if default_catalog is not None:
self._set_default_catalog(workspace_id, default_catalog)
logger.info("Run the 'create-ucx-catalog' command to create the UCX catalog for tracking your migration progress")

def _get_region(self, workspace_id: int) -> str | None:
workspace = self._ac.workspaces.get(workspace_id)
Expand Down
Loading