Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warehouse Config set up failing with databricks.sdk.core.DatabricksError: enable_serverless_compute is required. #416

Closed
dipankarkush-db opened this issue Oct 27, 2023 · 1 comment

Comments

@dipankarkush-db
Copy link

I am trying to create a warehouse config -

w.warehouses.set_workspace_warehouse_config(data_access_config=[EndpointConfPair(
    key="spark.databricks.dataLineage.enabled", value="true"
)], security_policy=SetWorkspaceWarehouseConfigRequestSecurityPolicy.DATA_ACCESS_CONTROL,
    enabled_warehouse_types=[
        WarehouseTypePair(enabled=True, warehouse_type=WarehouseTypePairWarehouseType.TYPE_UNSPECIFIED)]
)

and getting this error - databricks.sdk.core.DatabricksError: enable_serverless_compute is required.

there is no enable_serverless_compute parameter in the set_workspace_warehouse_config() function.

@mgyucht
Copy link
Contributor

mgyucht commented Nov 1, 2023

This duplicates #305, so I will close this in favor of that other ticket.

@mgyucht mgyucht closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants