Databricks integration
Run SQL statements, jobs, and cluster operations on Databricks.
How it works
Each Databricks action is a YAML template or Python function in Tracecat's open-source registry, under tools.databricks and tools.databricks_sdk. Add an action as a step in a workflow, or give it to an agent as a tool.
Credentials
Add these in Tracecat before running the actions. How credentials work
- Secret
databricks(optional) withDATABRICKS_CLIENT_ID,DATABRICKS_CLIENT_SECRET - OAuth connection
databricks_oauth(optional)
Actions
Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.
Call method
Instantiate a Databricks workspace client and call an SDK method.
Call paginated method
Instantiate a Databricks workspace client and collect a bounded number of items from an SDK iterator method.
Cancel job run
Cancel a job run asynchronously.
Cancel SQL statement
Cancel execution of a SQL statement.
Execute SQL statement
Execute a SQL statement on a Databricks SQL warehouse.
Get cluster
Retrieve information for a cluster by identifier.
Get job
Retrieve a single job by identifier.
Get job run
Retrieve metadata for a job run.
Get SQL statement
Retrieve the status and result of a SQL statement.
Get SQL warehouse
Retrieve information about a SQL warehouse.
List clusters
Return pinned and active clusters and recently terminated clusters.
List job runs
List job runs in descending start-time order.
List jobs
Retrieve jobs visible to the authenticated identity.
List SQL warehouses
List SQL warehouses in the workspace.
Run job
Start a run of an existing job.
Start cluster
Start a terminated all-purpose cluster.
Start SQL warehouse
Start a SQL warehouse.
Stop SQL warehouse
Stop a SQL warehouse.
Terminate cluster
Terminate a cluster asynchronously.