MaxCompute Lightning provides a system view stv_recents. By querying the view, you can view all query tasks that the current user is running.
View running queries
You can execute the query command to view the related information, including query ID, user name, query SQL statement, start time, duration, and waiting resources. Note: The "t" indicates that a query task has not been executed yet and is waiting for resources. The "f" indicates that the resources are being acquired and that the query task is being executed.
select * from stv_recents;
Cancel running queries