VSCode: allow the user to cancel a BQ job

Description

PRDE - Story default text according to the team DoR (Definition of Ready)

01 - PERSON OF CONTACT (PERSON THAT CAN ANSWER QUESTIONS ABOUT THE PROBLEM):

  • Andre Pasold

03 - PROBLEM (WHAT'S THE CURRENT PROBLEM SCENARIO OR PAIN TO BE RESOLVED?):

  • on several scenarios, a BigQuery job is requested by the user or the FE app, but while the job is running, the user is not interested in that result anymore (maybe he sent a second query, or just navigate away from the page where that request were relevant). To avoid slots being wasted, the FE app could call an endpoint to cancel the job

10 - ACCEPTANCE CRITERIA:

  • endpoint to cancel a BigQuery job by jobId
    • we will allow only jobID without task associated. It means jobID related to VS Code.
  • Suggestion of name: cancelQueryByJobId
  • UI
    • Add button to cancel Query (evaluate better place)

Already done as today - QA please validate:

  • SQL Processing tasks should be cancelled by task