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

Error message for 'table not found' misleading (BQ) #143

Open
colmsnowplow opened this issue Feb 6, 2019 · 2 comments
Open

Error message for 'table not found' misleading (BQ) #143

colmsnowplow opened this issue Feb 6, 2019 · 2 comments

Comments

@colmsnowplow
Copy link
Contributor

Running 0.8.0 against BigQuery. Where there's a mistake in the SQL which references a table that doesn't exist returns an error like:

  • googleapi: Error 404: Not found: Job [redacted-project-name]:EU.[redactedHashValue], notFound

I believe this is actually a 'table not found error' but it makes it look like either the job isn't found or some connection error happened.

Not sure if this is a sql-runner problem or if BQ just outputs unhelpful messages.

@chuwy
Copy link

chuwy commented Feb 7, 2019

My guess is that it is BigQuery's output. Can you confirm/object, @rzats?

@rzats
Copy link
Contributor

rzats commented Feb 7, 2019

It's indeed BigQuery output since the SQL runner is working with the Jobs API rather than anything related to tables. If need be this could be fixed by a health check call to the Tables API, so if a table doesn't exist the runner would fail with a more 'appropriate' error.

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

No branches or pull requests

3 participants