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

Request: add schemaUpdateOptions to to_gbq() #107

Closed
yan-hic opened this issue Jan 10, 2018 · 2 comments
Closed

Request: add schemaUpdateOptions to to_gbq() #107

yan-hic opened this issue Jan 10, 2018 · 2 comments
Labels
api: bigquery Issues related to the googleapis/python-bigquery-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@yan-hic
Copy link

yan-hic commented Jan 10, 2018

Useful if table already exists but df has more columns e.g. appending to historical data with 'old' schema.

Note that currently the (Python) Client library does not support that property - as per 0.29.

Workaround is LoadJobConfig._properties.__setitem__('schemaUpdateOptions', ['ALLOW_FIELD_ADDITION']).

@tswast
Copy link
Collaborator

tswast commented Feb 12, 2018

Now that to_gbq is creating load jobs, it would be good to allow passing in a whole job config dictionary in the way that read_gbq does with it’s configuration argument.

@tswast tswast added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Nov 6, 2020
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-pandas API. label Jul 17, 2021
@tswast
Copy link
Collaborator

tswast commented Nov 17, 2021

Closing in favor of #425

@tswast tswast closed this as completed Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-pandas API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants