Skip to content

[BUG] Deploying update to genie space warehouse id causes warehouse configuration error #1468

@JHEBentley

Description

@JHEBentley

Description
When running the w.genie.update_space method, if I pass the warehouse_id parameter with a different warehouse_id than the one existing warehouse_id, it causes the updated genie space to throw the critical error:
The author no longer has access to the SQL warehouse configured for this Genie space. To resolve, an author must select an alternate warehouse..

This can be resolved by manually edited the space and switching the warehouse using the UI. Changing the space to a given warehouse using the UI results in no issues, but using the sdk results in the error message as above.

Reproduction

w.genie.update_space(
    space_id=space_id,
    warehouse_id=new_warehouse_id
)

Persists on a variety of sdk versions, currently being run on 0.115.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions