Skip to content

[FEATURE]: check warehouse-id in databricks profile config for configure-reconcile #1824

@biswadeepupadhyay-db

Description

@biswadeepupadhyay-db

Is there an existing issue for this?

  • I have searched the existing issues

Category of feature request

Reconcile

Problem statement

When Users run the below command:
databricks labs lakebridge configure-reconcile

Lakebridge tries to create a SQL warehouse for backend processing.

Non-Admin Users who don't have "Allow unrestricted cluster creation" entitlement don't have access to create SQL warehouses, and for those, the command fails.

Proposed Solution

Those users should be able to configure their databricks profile with a warehouse_id that they alreast have CAB_USE permission on to complete the reconcile configuration.

~/.databrickscfg

[profile-name]
host = <workspave-url>
auth_type = databricks-cli
warehouse_id = <warehouse-id-with-can-use-access>

lakebridge will check if the config profile has warehouse_id configured in which case it will skip the warehouse creation and go ahead with the installation.

Additional Context

No response

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions