You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/09 18:12:46 UTC
[GitHub] [airflow] shahkshitij15 opened a new issue #22129: Add autodetect arg in BQCreateExternalTable Operator
shahkshitij15 opened a new issue #22129:
URL: https://github.com/apache/airflow/issues/22129
### Apache Airflow Provider(s)
google
### Versions of Apache Airflow Providers
_No response_
### Apache Airflow version
2.2.4 (latest released)
### Operating System
macOS Monterey
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
Autodetect parameter is missing in the create_external_table function in BQCreateExternalTableOperator because of which one cannot create external tables if schema files are missing
See function on line 1140 in this [file](https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/operators/bigquery.py)
### What you expected to happen
If autodetect argument is passed to the create_external_table function then one can create external tables without mentioning the schema for a CSV file leveraging the automatic detection functionality provided by the big query
### How to reproduce
Simply call BigQueryCreateExternalTableOperator in the dag without mentioning schema_fields or schema_object
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] josh-fell commented on issue #22129: Add autodetect arg in BQCreateExternalTable Operator
Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #22129:
URL: https://github.com/apache/airflow/issues/22129#issuecomment-1063610206
@shahkshitij15 Feel free to submit a PR. Assigned to you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] hankehly commented on issue #22129: Add autodetect arg in BQCreateExternalTable Operator
Posted by GitBox <gi...@apache.org>.
hankehly commented on issue #22129:
URL: https://github.com/apache/airflow/issues/22129#issuecomment-1082529291
@shahkshitij15 @josh-fell I will take this if you don't mind
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org