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

BigQueryCreateExternalTableOperator table_resource parameter is impossible to use #15604

Closed
dougpm opened this issue Apr 30, 2021 · 4 comments
Closed
Labels
area:providers kind:bug This is a clearly a bug provider:google Google (including GCP) related issues

Comments

@dougpm
Copy link

dougpm commented Apr 30, 2021

Apache Airflow version: 1.10.14

What happened:

I specified the table_resource parameter in BigQueryCreateExternalTableOperator.

What you expected to happen:

Expected operator to ignore all other table related parameters and execute normally.

The 'table_resource' parameter can't be specified alongside 'destination_project_dataset_table', which is needed.
destination_project_dataset_table shouldn't be in the 'kwargs_passed' list. Also other atributes in said list have default values, which is also a bug.

@dougpm dougpm added the kind:bug This is a clearly a bug label Apr 30, 2021
@boring-cyborg
Copy link

boring-cyborg bot commented Apr 30, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

@kaxil kaxil added area:providers provider:google Google (including GCP) related issues labels Apr 30, 2021
@bmbejcek
Copy link

bmbejcek commented Sep 6, 2021

Any updates on this? Currently facing this issue.

@potiuk
Copy link
Member

potiuk commented Sep 7, 2021

This is already fixed in 5.1.0 version of Airflow Google provider. You can upgrade the provider to that version and use it. Also in case you use an earlier version of the provider, you can set those conflicting parameters to None as a workaround.

@potiuk potiuk closed this as completed Sep 7, 2021
@potiuk
Copy link
Member

potiuk commented Sep 7, 2021

Fixed in here: #17900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers kind:bug This is a clearly a bug provider:google Google (including GCP) related issues
Projects
None yet
Development

No branches or pull requests

4 participants