Skip to content

detecting databricks cluster is up  #265

Open
@mx2323

Description

@mx2323

when connecting to a databricks warehouse, if it is not serverless, it can take minutes to start up.

we would like a nonblocking way of detecting whether a databricks warehouse is up and ready to go. is there a best practice on doing this in a nonblocking manner with this sdk?

the API currently blocks statements and waits for the cluster to be ready... we could probably do something like a SELECT 1 and wait 1 second for it to complete (and cancel the operation if it doensn't succeed in 1 second), but was just curious if there is a better way of going about whether the cluster is live and ready to go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions