Run Query
clickhouse.query
ActionDatabases & warehousesconnection required
POSTs SQL to the ClickHouse HTTP interface with default_format=JSON.
Run a SQL statement against ClickHouse (SELECT returns rows).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- ClickHouse
- Secret shape
- the password, or {"password": "…"}
- Config it needs
- base_url, database, username
- 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 | — |
{
"row_count": 0,
"rows": []
}Notes
- Build SQL from untrusted input carefully — parameters are not bound server-side over the HTTP interface.
Related ClickHouse nodes
See Run Query run in a workflow.
In a technical demo we add the ClickHouse connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.