Skip to content

Commit

Permalink
Add exists_ok=True back
Browse files Browse the repository at this point in the history
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
  • Loading branch information
Tsotne Tabidze committed May 20, 2021
1 parent 2837dd9 commit 43f4c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/offline_stores/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _upload_entity_df_into_bigquery(project, dataset_name, entity_df, client) ->
client.get_dataset(dataset)
except NotFound:
# Only create the dataset if it does not exist
client.create_dataset(dataset)
client.create_dataset(dataset, exists_ok=True)

# Drop the index so that we dont have unnecessary columns
entity_df.reset_index(drop=True, inplace=True)
Expand Down

0 comments on commit 43f4c08

Please sign in to comment.