Run SQL
databricks.sql_query
ActionDatabases & warehousesconnection required
Calls the Databricks API with the connection's credentials.
Run SQL on a SQL warehouse and return rows.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Databricks
- Secret shape
- a personal access token, or {"token": "…"}
- Config it needs
- base_url, warehouse_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
sql SQL statement. | string | Yes | — | — | — |
warehouse_id Overrides the connection's warehouse. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
rows | array | — |
row_count | number | — |
{
"row_count": 0,
"rows": []
}Related Databricks nodes
See Run SQL run in a workflow.
In a technical demo we add the Databricks connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.