Skip to content

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

Merged
tswast merged 1 commit intogoogleapis:masterfrom
tswast:issue7476-exists-ok
Mar 6, 2019
Merged

Add options to ignore errors when creating/deleting datasets/tables.#7491
tswast merged 1 commit intogoogleapis:masterfrom
tswast:issue7476-exists-ok

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 requested review from alixhami and shollyman March 6, 2019 20:09
@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