Skip to content

Commit

Permalink
Update assign-metastore docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Sep 23, 2024
1 parent 3efead5 commit 3906d13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1167,9 +1167,13 @@ a region, and you want to see which ones are available for assignment.
databricks labs ucx assign-metastore --workspace-id <workspace-id> [--metastore-id <metastore-id>]
```

This command assigns a metastore to a workspace with `workspace-id`. If there is only a single metastore in the workspace
region, it will be automatically assigned to the workspace. If there are multiple metastores available, you need to specify
the metastore id of the metastore you want to assign to the workspace.
This command assigns a metastore to a workspace with `workspace-id`. If there is only a single metastore in the
workspace region, the command automatically assigns to the workspace. If there are multiple metastores available, the
command prompts for specification of the metastore (id) you want to assign to the workspace.

Finally, the command setups up the metastore with a UCX artifact catalog. The command prompts for the catalog name.

[[back to top](#databricks-labs-ucx)]

## `create-ucx-catalog` command

Expand Down
4 changes: 3 additions & 1 deletion labs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ commands:

- name: assign-metastore
is_account_level: true
description: Enable Unity Catalog features on a workspace by assign a metastore to it
description: |
Enable Unity Catalog features on a workspace by assigning a metastore to it. Also, a UCX catalog is created to
store UCX artifacts.
flags:
- name: workspace-id
description: (Optional) Workspace ID to assign a metastore to
Expand Down

0 comments on commit 3906d13

Please sign in to comment.