Skip to content

create-catalogs-schemas should work for external paths #1039

@william-conti

Description

@william-conti

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

For users that relies on mount points and not on external tables, we should provide to them an easy way to migrate their existing mounts into external tables on UC.

Proposed Solution

Rely on ExternalLocations from https://github.com/databrickslabs/ucx/blob/main/src/databricks/labs/ucx/hive_metastore/locations.py#L32-L213

Similar to the output of create-table-mapping, the user will provide a mapping file where each source path will be mapped to a target external table on UC.
The command will then create catalogs / schemas / tables appropriately.

Related issues:

Additional Context

No response

Metadata

Metadata

Assignees

Labels

migrate/managedgo/uc/upgrade Upgrade Managed Tables and Jobs

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions