BigQuery: add schemaUpdateOptions to LoadJobConfig
Python 2.7 - Client lib 0.29
Java has it and Go has open request.
As a workaround, one can do as following as the http request is constructed off _properties:
LoadJobConfig()._properties.__setitem__('schemaUpdateOptions', [...])
Consider adding to QueryJobConfig too.
@tseaver wrote this answer
@yiga2 FWIW, that feature is marked "experimental" in the docs.
The workaround you propose won't work: instead, I would use:
job_config._properties['schemaUpdateOptions'] = ['ALLOW_FIELD_ADDITION']
I broke the workaround at https://github.com/GoogleCloudPlatform/google-cloud-python/issues/4728#issuecomment-356857745 in https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5036.
The way to workaround after that change is released will be
job_config._properties['load']['schemaUpdateOptions'] = ['ALLOW_FIELD_ADDITION']
Added in https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5415