googleapis / googleapis/google-cloud-python

BigQuery queries intermittently fail with "Dataset not found in location US" despite dataset being in us-central1

Offen
#15,691 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: bigquery priority: p3 type: bug
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

Some of are queries are failing rarely (a few times a week) with this error: Not found: Dataset my-dataset:my_table was not found in location US.
This is because of the correct location is `us-central1`. And more than 99.99% of our queries succeed, so it's not a configuration issue.

We set the correct location with
```python
bigquery.Client(
project=self.project_id,
location=self.location,
)
```

#### Environment details

- OS type and version: Linux, python:3.11.4 docker image
- Python version: 3.11.4
- `google-cloud-bigquery` version: 3.38.0

#### Steps to reproduce

We can't reproduce it deterministically, it happens on a large production system with many concurrent queries.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.