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

Add options to ignore errors when creating/deleting datasets/tables. #7491

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Mar 6, 2019

In create_dataset and create_table, exists_ok ignores errors when a
dataset/table already exists. It makes a GET request to get the existing
resource if it already exists.

In delete_dataset and delete_table, not_found_ok ignores errors when a
dataset/table doesn't exist.

Closes #7476.

In create_dataset and create_table, exists_ok ignores errors when a
dataset/table already exists. It makes a GET request to get the existing
resource if it already exists.

In delete_dataset and delete_table, not_found_ok ignores errors when a
dataset/table doesn't exist.
@tswast tswast requested a review from tseaver March 6, 2019 19:05
@tswast tswast requested a review from crwilcox as a code owner March 6, 2019 19:05
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 6, 2019
@tswast
Copy link
Contributor Author

tswast commented Mar 6, 2019

/cc @lakshmanok This should simplify the bigquery-oreilly-book notebook even further.

@tswast tswast merged commit 6c13421 into googleapis:master Mar 6, 2019
@tswast tswast deleted the issue7476-exists-ok branch March 6, 2019 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants