-
Notifications
You must be signed in to change notification settings - Fork 163
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
Simplify usage of BigQuery's TableReference and DatasetReference Classes #98
Conversation
@drewmcdonald seems some recent mergers are not working well with your current pr, if you could update main, hopefully that will clear them up if not I will do my best to help find the issues and get them fixed. |
merge main into feature branch.
@McKnight-42 looks like things are all good after updating! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Work @drewmcdonald thanks so much for this contribution.
Thanks! Happy to jump in. |
…ses (#98) * drop conn method argument in _query_and_results. * update Table Ref and Dataset Ref usage. * update changelog. Co-authored-by: Matthew McKnight <[email protected]>
…ses (dbt-labs#98) * drop conn method argument in _query_and_results. * update Table Ref and Dataset Ref usage. * update changelog. Co-authored-by: Matthew McKnight <[email protected]>
resolves #97
Description
Addresses a deprecation warning (see #97) and moves closer to BQ API best practices by preferring unconnected
*Reference
objects until connected client operations are needed.BigQueryConnectionManager.dataset
to directly create abigquery.DatasetReference
, and renames that method todataset_ref
for clarity.BigQueryConnectionManager.table_ref
to directly create abigquery.TableReference
Checklist
CHANGELOG.md
and added information about my change to the "dbt-bigquery next" section.