You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/01/22 13:49:04 UTC

[jira] [Commented] (AIRFLOW-1943) Add feature to create External BigQuery Table

    [ https://issues.apache.org/jira/browse/AIRFLOW-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334282#comment-16334282 ] 

Kaxil Naik commented on AIRFLOW-1943:
-------------------------------------

Added the feature in this Pull Request: [https://github.com/apache/incubator-airflow/pull/2948|https://github.com/apache/incubator-airflow/pull/2948]

> 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
>            Assignee: David Sabater
>            Priority: Minor
>             Fix For: Airflow 2.0
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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
(v7.6.3#76005)