Your organization uses scheduled queries to perform transformations on data stored in BigQuery. You discover that one of your scheduled queries has failed. You need to troubleshoot the issue as quickly as possible. What should you do?
I practiced a similar question where we had to analyze scheduled query failures. I feel like navigating to the Scheduled queries page could be the quickest option.
This is a tricky one. I'm tempted to go straight to the Scheduled queries page, but I'm not sure if that will give me all the information I need. Maybe I should try a few different approaches and see which one provides the most useful troubleshooting details.
Okay, I think the key here is to quickly identify the root cause of the failure. Querying the information_schema.jobs view with the failed job ID seems like the most direct way to get the error details I need.
Hmm, I'm not sure which option is the best approach here. I might try setting up a log sink to export the BigQuery audit logs, then querying those to identify the error. But I'm not totally confident that's the right solution.
This looks like a straightforward troubleshooting question. I'd start by navigating to the Logs Explorer page and using filters to find the failed job and analyze the error details.
B) Set up a log sink using the gcloud CLI to export BigQuery audit logs to BigQuery. Query those logs to identify the error associated with the failed job ID.
B) Set up a log sink using the gcloud CLI to export BigQuery audit logs to BigQuery. Query those logs to identify the error associated with the failed job ID.
C) Accessing the information_schema seems like a more comprehensive approach. Though it might require admin approval, it could provide more detailed insights.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Louvenia
6 days agoTiera
12 days agoTamar
17 days agoLavonda
23 days agoDenise
28 days agoKris
1 month agoJohnna
1 month agoThersa
1 month agoMicaela
1 month agoAlpha
1 month agoChauncey
8 months agoCeleste
7 months agoPhung
7 months agoMozelle
8 months agoMelita
8 months agoRossana
8 months agoMarion
8 months agoJody
8 months agoDomingo
9 months agoCyril
9 months agoJennifer
9 months agoMozell
8 months agoAn
8 months agoGerry
8 months agoCaren
8 months agoJonell
9 months agoPete
9 months agoTerrilyn
9 months agoLonna
9 months agoGayla
9 months ago