Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigquery job id is not found in locations outside of US #1842

Closed
LarsKlingen opened this issue Sep 6, 2021 · 1 comment · Fixed by #1844
Closed

Bigquery job id is not found in locations outside of US #1842

LarsKlingen opened this issue Sep 6, 2021 · 1 comment · Fixed by #1844

Comments

@LarsKlingen
Copy link
Contributor

Expected Behavior

When querying for offline features with bigquery source, the job id is used to get the status of the bigquery job.

Current Behavior

For a location outside of US (southamerica) the job id to get the status is not found.

Steps to reproduce

Specifications

Possible Solution

Pass bigquery.job.query.QueryJob object to client.get_job(job_id).state instead of job_id as a string. get_job will then get the correct location automatically.

@woop
Copy link
Member

woop commented Sep 7, 2021

Thanks for raising this @LarsKlingen. Would you be open to submitting a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants