ucx icon indicating copy to clipboard operation
ucx copied to clipboard

[FEATURE]: Add `create-ucx-catalog` to `assign-metastore` command

Open JCZuurmond opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Problem statement

Add create-ucx-catalog to assign-metastore command so that UCX catalog is setup when attaching the metastore.

Note: The this PR did an attempt of adding the create-ucx-catalog to the assign-metastore, however, [some redsign](#2507) is required to run workspace level commands within the AccountContext`

Proposed Solution

See above

Additional Context

No response

JCZuurmond avatar Sep 24 '24 14:09 JCZuurmond

Are we sure we want to do it at the same occasion. The challenge is that we recommend against setting a default storage location at the metastore, which means that we will have to provide a managed location at the catalog level. This will complicate an otherwise simple task.

FastLee avatar Sep 26 '24 17:09 FastLee

No way to assign a workspace context to an account context. Creating documentation instead.

FastLee avatar Feb 21 '25 17:02 FastLee