Bigquery cancels or stops a batch request job that is not already running (Status.State = "PENDING")

If for some reason you need to stop / cancel a batch request job that is not already running (Status.State = "PENDING"), is it possible to do this? (library used: net Google.Apis.Bigquery.v2.1.5.0.122-beta).

+6
source share
1 answer

BigQuery now supports canceling query jobs. You can do this through the bq command line client via:

 bq cancel <job_id> 

or from the API via the jobs.cancel method (registered here )

+4
source

Source: https://habr.com/ru/post/956418/