You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
We are trying to use a Datalab instance, but even the simple examples fail as the library can't find the results of our queries. The actual BQ job does get executed (which we have manually verified), but the result can't be fetched back to datalab, which errors out:
HTTP request failed: Not found: Job acme-267909:job_qMlsf2_2kOPHKAIBrZlMLl9vKtpZ
I have faced the exact same issue when using the Elixir API, and the solution was to add the optional argument location: "europe-north1". This exact issue is at play in the datalab bigquery library, since the location is not passed with the args here:
Worth mentioning is also that the docs lists location explicitly as optional for EU and US, which then is obviously not true. This has confused us before.
The text was updated successfully, but these errors were encountered:
A suggested fix would be to let google.datalab.bigquery.Query.__init__ also take an optional argument location, set this as an instance attribute, and use that in the args map for this, and possibly other relevant calls.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are trying to use a Datalab instance, but even the simple examples fail as the library can't find the results of our queries. The actual BQ job does get executed (which we have manually verified), but the result can't be fetched back to datalab, which errors out:
I have faced the exact same issue when using the Elixir API, and the solution was to add the optional argument
location: "europe-north1"
. This exact issue is at play in the datalab bigquery library, since the location is not passed with theargs
here:pydatalab/datalab/bigquery/_api.py
Line 237 in 1d68652
We have verified this is the problem, as this little snippet successfully gets the status of the job:
Worth mentioning is also that the docs lists
location
explicitly as optional for EU and US, which then is obviously not true. This has confused us before.The text was updated successfully, but these errors were encountered: