Snowflake · Arazzo Workflow
Snowflake Submit Asynchronous SQL Statement
Version 1.0.0
Submit a SQL statement asynchronously and check its execution status by handle.
Provider
Workflows
submit-async-sql-statement
Submit a SQL statement asynchronously and read back its execution status.
Submits a long-running SQL statement with async execution enabled so the API returns a statement handle immediately, then checks that handle once with getStatementStatus to observe whether the statement is still running or has completed.
1
submitAsync
submitStatement
Submit the SQL statement with async=true. The API returns a 202 with the statement handle that uniquely identifies the running statement.
2
checkStatus
getStatementStatus
Check the execution status of the asynchronous statement by its handle. A 202 indicates the statement is still running; a 200 indicates completion with a result set.