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

Use strings instead of reference objects in google-cloud-bigquery notebook #2

Merged
merged 2 commits into from
Mar 7, 2019

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Mar 5, 2019

Simplify the notebook to remove the need for explicit TableReference or DatasetReference objects. Also, we're able to delete a lot of helper code with the new not_found_ok and exists_ok parameters.

Depends on google-cloud-bigquery==1.10.0. Release pending at googleapis/google-cloud-python#7497

Ideally, DatasetReference and TableReference won't be necessary to
create. Already for most use cases they are optional.
Also, use not_found_ok when deleting datasets/tables and
exists_ok when creating datasets/tables.
@tswast tswast marked this pull request as ready for review March 6, 2019 23:59
@tswast tswast requested a review from lakshmanok March 6, 2019 23:59
@lakshmanok lakshmanok merged commit 37c7d20 into GoogleCloudPlatform:master Mar 7, 2019
@tswast tswast deleted the tswast-gcb branch March 7, 2019 02:10
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