Class UserTaskCancelFunction

java.lang.Object
dev.frostlake.functions.TableFunction
dev.frostlake.functions.table.UserTaskCancelFunction

public class UserTaskCancelFunction extends TableFunction
SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS('task_name') — cancels the runs of a task that are in flight and returns a one-column status row describing what happened.

It cancels executions, not the task: a started task stays started afterwards. The task name is echoed into the message exactly as it was passed, while the task itself is looked up case-insensitively. An unknown name is an error rather than a status row.