Run SQL
dremio.sql_query
ActionDatabases & warehousesconnection required
Calls the Dremio API with the connection's credentials.
Submit SQL to Dremio, wait for the job, return rows.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Dremio
- Secret shape
- a personal access token, or {"token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 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 | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
rows | array | — |
row_count | number | — |
job_id | string | — |
{
"job_id": "",
"row_count": 0,
"rows": []
}See Run SQL run in a workflow.
In a technical demo we add the Dremio connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.