Skip to main content
Version: 3.2

Trino Nodes

Read from every catalog a Trino or Starburst cluster federates, and change data with any statement its connectors support.

Operations
Query · Execute
Limits
50,000 rows or 40 MB per query

The Trino nodes run the functions of a Trino connection. Each node runs one function type.

Configuration Quick Reference​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.

Node Types​

NodePurposeCommon Use Cases
QueryRun a query and return rowsLake tables for dashboards, joins across catalogs, KPIs
ExecuteRun DML or DDL, return rows affectedSummary tables, retention deletes, schema changes

Trino Query nodeTrino Query node

Trino Query Node

Trino Query Node​

Run a query and return its rows as structured data. Rows stream in up to the result limits; when a limit is reached, the rest of the query is cancelled on the cluster.

Supported Function Types:

Function NamePurposeCommon Use Cases
QueryRun parameterized queries on TrinoLakehouse reads, federated joins, reporting

Trino Execute nodeTrino Execute node

Trino Execute Node

Trino Execute Node​

Run a statement that changes data or schema (INSERT, UPDATE, DELETE, MERGE, CREATE TABLE AS, CREATE, ALTER or DROP) and return rowsAffected. A statement whose outcome is unknown is not sent again automatically: a 502, 503 or 504 from the coordinator or a proxy in front of it, a failure after Trino accepted the statement, the timeout, or a dropped link. The box A statement is sent once under Execute Function in the connection guide lists every case.

Supported Function Types:

Function NamePurposeCommon Use Cases
ExecuteRun any statement the catalog's connector supportsDaily summaries, retention, table maintenance

Output​

Every Trino node delivers its data under result, and execution facts (success, functionId, durationMs, timestamp) under _metadata:

NodeExpressionDescription
Query$node["Name"].result.rowsThe result rows, one object per row keyed by column name as Trino reports it (lower case unless quoted), up to the result limits: the 50,000-row cap and the 40 MB size budget by default. $node["Name"].result.rows[0].<column> reads a value
$node["Name"]._metadata.truncatedtrue when the query hit a result limit and rows holds only what fit
$node["Name"]._metadata.truncatedByWhich limit cut the result: rows or bytes. Present only when truncated is true
$node["Name"].result.rowCountHow many rows were delivered, the same as result.rows.length
Execute$node["Name"].result.rowsAffectedRows the statement affected, as Trino reports it (0 for a statement that changes no rows, such as CREATE TABLE)

A Query also delivers $node["Name"]._metadata.driver (trino), $node["Name"]._metadata.query (the SQL that ran), _metadata.truncated and, when a limit tripped, _metadata.truncatedBy. An Execute delivers _metadata.driver and _metadata.query.

Check truncated before you aggregate

A query stopped at the row limit returns a shorter rows array that looks exactly like a complete result. Branch on _metadata.truncated, or narrow the query with WHERE and LIMIT, rather than assuming the read was complete.