goccy / bigquery-emulator

BigQuery emulator server implemented in Go
MIT License
843 stars 108 forks source link

Python SDK always retries requests for invalid queries #316

Open ohaibbq opened 6 months ago

ohaibbq commented 6 months ago

What happened?

The Python SDK will hang for multiple minutes at a time retrying requests for invalid queries. The default retry handler always retries internal server errors, which is what we return for jobs endpoints

What did you expect to happen?

Python SDK to raise an invalid error immediately

How can we reproduce it (as minimally and precisely as possible)?

Anything else we need to know?

n/a