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

pass the model name along in get_relations #1388

Merged
merged 2 commits into from
Apr 11, 2019

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Apr 4, 2019

Fixes #1384

On a cache miss, BigQueryAdapter.get_relations calls BigQueryConnectionManager.get_bq_table with no model_name parameter, which of course becomes master and collides. I looked through the rest of the bigquery code and didn't see anything else that should have this issue.

This will also trigger on docs generate. I think run could also have this issue if you disabled the cache.

@beckjake beckjake force-pushed the fix/bigquery-missing-model-names branch from acc1609 to e29eccd Compare April 4, 2019 23:50
@drewbanin drewbanin self-requested a review April 11, 2019 13:15
Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@beckjake beckjake merged commit 3f31b52 into dev/0.13.1 Apr 11, 2019
@beckjake beckjake deleted the fix/bigquery-missing-model-names branch April 11, 2019 13:28
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 this pull request may close these issues.

2 participants