menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Need to St...
source image

Self-Learning-Java

7d

read

140

img
dot

Need to Stop a Running BigQuery Job? Use bq cancel

  • To stop a running BigQuery job before completion, use the 'bq cancel' command followed by the job ID.
  • For example, 'bq cancel job_id' will immediately halt the job's execution.
  • You can find the job ID from various sources like GCP console, logging systems, or bq query outputs.
  • Using 'bq ls -j' allows listing recent jobs with their details, including job ID.
  • The 'bq cancel' command helps save costs by stopping long-running or unoptimized queries.
  • It also allows for quickly interrupting accidental or test jobs.

Read Full Article

like

8 Likes

For uninterrupted reading, download the app