Skip to content

API ignores user defined timeout and applies default timeout #591

Closed
@BalkanFlink

Description

@BalkanFlink

When we updated to dbt version 1.7.5 and dbt-bigquery version 1.7.3, we noticed that our BigQuery queries were always timing out and cancelling after 900 seconds with the below error message, regardless of our own timeout settings:

Query exceeded configured timeout of 5400s

Those two dbt libs depend on the google-api-core version 2.16.0, which seems to always use the default timeout of 900 seconds instead of honouring the user defined timeout setting. This appears to be happening somewhere here: https://github.com/googleapis/python-api-core/blob/v2.16.0/google/api_core/future/polling.py#L126

Once we reverted to using google-api-core version 2.15.0, this problem disappeared and dbt went back to honouring our custom defined timeout settings.

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions