Stop/kill Bigquery in console

We have an use case regrading the big query.

We have one dashboard to identify long running query or query which scanned more data and need to optimize. Suppose any user writing a query in bigQuery Cloud Console, and it showing it will scan 300 GB data, so any method to stop that user before running the query in realtime.

I try with cloud function and pub/sub, but problem is, I can not figure it out, which bigQuery event will trigger that function



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept