Kaxil Naik created AIRFLOW-1943:
-----------------------------------
Summary: Add feature to create External BigQuery Table
Key: AIRFLOW-1943
URL: https://issues.apache.org/jira/browse/AIRFLOW-1943
Project: Apache Airflow
Issue Type: Task
Components: contrib, gcp
Affects Versions: Airflow 2.0
Reporter: Kaxil Naik
Fix For: Airflow 2.0
Currently using the BigQuery operator and the bq hook we can just create a
materialized (internal) BigQuery Table but there is no code to create an
external BQ table.
Below are the links to Python Api and the JSON Rest API that can be helpful:
*
https://github.com/GoogleCloudPlatform/google-cloud-python/commit/7ea861fce5023409b1f8c0baa1ea7d90b41a2300
*
https://github.com/GoogleCloudPlatform/google-cloud-python/commit/3af22d7fd595e2d16f274d59e34f7a592ae251b5
*
https://cloud.google.com/bigquery/external-table-definition#json_table_definitions_1
*
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.query.tableDefinitions
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)