Skip to content

Conversation

@chalmerlowe
Copy link
Collaborator

This fix attempts to overcome a backwards incompatible fix related to how python-api-core handles default timeout values and how bigquery handles default timeout values.

Namely:

the default timeout value in python-api-core is a Python object()
python-bigquery expects a value of None or a numeric value
This fix checks to see if the value being passed in is an object(), and if so, converts it to a NoneType value of None.

A similar fix can be found in PR: #1541

Fixes #1612 🦕

@chalmerlowe chalmerlowe requested review from a team as code owners August 21, 2023 13:49
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Aug 21, 2023
@chalmerlowe
Copy link
Collaborator Author

The following tests are failing due to a known issue related to an incompatibility with Pandas 2.0 that is being resolved in an alternate PR: #1616. These two failures should not preclude this PR from being merged.

  • Kokoro Prerelease Dependencies
  • Kokoro prerelease-deps-3.11

On the other hand... I don't have a resolution for the issues in Kokoro system-3.11 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GBQ query getting error of '>' not supported between instances of 'int' and 'object' randomly

1 participant