You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chuan Qiu (Jira)" <ji...@apache.org> on 2020/03/24 20:52:00 UTC

[jira] [Created] (AIRFLOW-7107) GCS to Bigquery must provide a schema for externally created table

Chuan Qiu created AIRFLOW-7107:
----------------------------------

             Summary: GCS to Bigquery must provide a schema for externally created table
                 Key: AIRFLOW-7107
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-7107
             Project: Apache Airflow
          Issue Type: Bug
          Components: gcp
    Affects Versions: 1.10.8
            Reporter: Chuan Qiu


I have a partitioned table which is externally created and managed.

However, I must provide the schema for the table when using GCSToBigQueryOperator

 

If I use autodetect=True, any empty list could be interpreted as list of string, which cause type check failure.

 

If use BigQuery Python API directly, it doesn't require the schema to be provided, if table is already created.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)