Skip to content

Commit

Permalink
fix: allow to_gbq to run without bigquery.tables.create permissio…
Browse files Browse the repository at this point in the history
…n. (#539)
  • Loading branch information
acarmel authored Jun 16, 2022
1 parent 439d588 commit 3988306
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas_gbq/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def load_parquet(
):
job_config = bigquery.LoadJobConfig()
job_config.write_disposition = "WRITE_APPEND"
job_config.create_disposition = "CREATE_NEVER"
job_config.source_format = "PARQUET"

if schema is not None:
Expand Down Expand Up @@ -148,6 +149,7 @@ def load_csv(
):
job_config = bigquery.LoadJobConfig()
job_config.write_disposition = "WRITE_APPEND"
job_config.create_disposition = "CREATE_NEVER"
job_config.source_format = "CSV"
job_config.allow_quoted_newlines = True

Expand Down

0 comments on commit 3988306

Please sign in to comment.