Skip to content

Commit 80b8bbe

Browse files
authored
chore: filter errors explicitly caught in BF dashboard (#270)
plx script change https://plx.corp.google.com/scripts2/script_68._e922fb_55ab_4c4d_9046_85fc1c4c7467 Line 43 - 47: + AND ( SELECT l.value FROM UNNEST(configuration.labels.label) AS l WHERE l.key = "error_caught" ) != "True"
1 parent f247d95 commit 80b8bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bigframes/session/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def _query_to_destination(
294294
try:
295295
# Write to temp table to workaround BigQuery 10 GB query results
296296
# limit. See: internal issue 303057336.
297+
job_config.labels["error_caught"] = "True"
297298
_, query_job = self._start_query(query, job_config=job_config)
298299
return query_job.destination, query_job
299300
except google.api_core.exceptions.BadRequest:

0 commit comments

Comments
 (0)