Query Results

athena.get_query_results
ActionAmazon Web Servicesconnection required

Calls the AWS athena API (SigV4).

Read a finished query's rows.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Amazon Athena
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
query_execution_id
Id from start_query_execution.
stringYes———
max_results
Max rows (default 100).
numberNo—≥ 1—
next_token
Continue from a previous run of this node by passing that run's 'next_token' output, to read the next page of query rows.
stringNo———

Output

One shape.

result

FieldTypeExample
columns
array—
rows
array—
count
number—
next_token
Cursor for the next page of rows; empty when there are no further pages.
string—
{
  "columns": [],
  "count": 0,
  "next_token": "",
  "rows": []
}

Related Amazon Athena nodes

See Query Results run in a workflow.

In a technical demo we add the Amazon Athena connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.