airflow.providers.databricks.exceptions¶
Exceptions used by Databricks Provider.
Exceptions¶
Raised when there is an error in sql execution. |
|
Raised when a sql execution times out. |
|
Raised when a Databricks operator payload is invalid. |
|
Raised when a SQL warehouse fails to reach or times out waiting for a target state. |
|
Raised when an agent invocation fails or cannot be completed. |
|
Raised when waiting for an agent invocation times out. |
|
Raised when a Databricks REST API call returns an error response. |
|
Raised when a call to a Unity Gateway MCP Service fails. |
|
Raised when the gateway will not let the caller invoke the service. |
|
Raised when the gateway rate-limits the caller. |
|
Raised when the gateway cannot be reached or the connection drops. |
Module Contents¶
- exception airflow.providers.databricks.exceptions.DatabricksSqlExecutionError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when there is an error in sql execution.
- exception airflow.providers.databricks.exceptions.DatabricksSqlExecutionTimeout[source]¶
Bases:
DatabricksSqlExecutionErrorRaised when a sql execution times out.
- exception airflow.providers.databricks.exceptions.DatabricksOperatorPayloadError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when a Databricks operator payload is invalid.
- exception airflow.providers.databricks.exceptions.DatabricksWarehouseError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when a SQL warehouse fails to reach or times out waiting for a target state.
- exception airflow.providers.databricks.exceptions.DatabricksAgentInvocationError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when an agent invocation fails or cannot be completed.
- exception airflow.providers.databricks.exceptions.DatabricksAgentInvocationTimeout[source]¶
Bases:
DatabricksAgentInvocationErrorRaised when waiting for an agent invocation times out.
- exception airflow.providers.databricks.exceptions.DatabricksApiError(message, *, http_status_code=None, error_code=None)[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when a Databricks REST API call returns an error response.
- exception airflow.providers.databricks.exceptions.DatabricksUnityMCPError(message, *, http_status_code=None, error_code=None)[source]¶
Bases:
DatabricksApiErrorRaised when a call to a Unity Gateway MCP Service fails.
- exception airflow.providers.databricks.exceptions.DatabricksUnityMCPAccessDeniedError(message, *, http_status_code=None, error_code=None)[source]¶
Bases:
DatabricksUnityMCPErrorRaised when the gateway will not let the caller invoke the service.
The service may not exist, the caller may lack a privilege on it, or its credentials may be invalid.
- exception airflow.providers.databricks.exceptions.DatabricksUnityMCPThrottledError(message, *, http_status_code=None, retry_after=None)[source]¶
Bases:
DatabricksUnityMCPErrorRaised when the gateway rate-limits the caller.
- exception airflow.providers.databricks.exceptions.DatabricksUnityMCPTransportError(message, *, http_status_code=None, error_code=None)[source]¶
Bases:
DatabricksUnityMCPErrorRaised when the gateway cannot be reached or the connection drops.
When this interrupts a tool call, the tool may or may not have run, so the call is not retried automatically.