Teradata · Arazzo Workflow
Teradata Cancel a Running Query
Version 1.0.0
Submit a query, check whether it is still running, and cancel it if so.
View Spec
View on GitHub
AnalyticsCloudData ManagementData WarehousingDatabaseEnterpriseMachine LearningSQLArazzoWorkflows
Provider
Workflows
cancel-running-query
Submit a query and cancel it if it is still running, otherwise end.
Opens a session, submits the SQL statement, retrieves the query status, and cancels the query only when it is still in the running state.
1
openSession
createSession
Create a query session against the requested system.
2
submitQuery
executeQuery
Submit the SQL statement and capture the query identifier.
3
checkStatus
getQueryStatus
Retrieve the query status and branch on whether it is still running.
4
cancelQuery
cancelQuery
Cancel the still-running query to free Vantage resources.