BigQueryCreateExternalTableOperator
doesn't trigger schema discovery
#45512
Labels
area:providers
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
provider:google
Google (including GCP) related issues
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
No response
Apache Airflow version
2.7.3
Operating System
Darwin Kernel Version 23.6.0
Deployment
Google Cloud Composer
Deployment details
No response
What happened
Using
BigQueryCreateExternalTableOperator
withautodetect=True
doesn't trigger schema to be created in BQ:What you think should happen instead
Running the similar command from CLI leads to correct schema discovery processing:
How to reproduce
Upload CSV file to GCS:
Run
BigQueryCreateExternalTableOperator
:Anything else
Most probably switching from deprecated API
bq_hook.create_external_table
tocreate_empty_table
led to that behavior#24363
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: