Databricks SDK for JavaScript
    Preparing search index...

    The status response includes execution state and if relevant, error information.

    interface StatementStatus {
        error?: DatabricksServiceExceptionProto;
        sqlState?: string;
        state?: StatementStatus_State;
    }
    Index

    Properties

    sqlState?: string

    SQLSTATE error code returned when the statement execution fails. Only populated when the statement status is FAILED.

    Statement execution state:

    • PENDING: waiting for warehouse
    • RUNNING: running
    • SUCCEEDED: execution was successful, result data available for fetch
    • FAILED: execution failed; reason for failure described in accompanying error message
    • CANCELED: user canceled; can come from explicit cancel call, or timeout with on_wait_timeout=CANCEL
    • CLOSED: execution successful, and statement closed; result no longer available for fetch