Run SQL
pinot.sql_query
ActionDatabases & warehousesconnection required
Calls the Pinot API with the connection's credentials.
Run a SQL query against an Apache Pinot broker.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Apache Pinot
- Secret shape
- a bearer token (optional), 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 | — |
{
"row_count": 0,
"rows": []
}See Run SQL run in a workflow.
In a technical demo we add the Apache Pinot connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.