Zohar Yahav created AIRFLOW-1242:
------------------------------------
Summary: BigQueryHook assumes that a valid project_id can't
contain a ':'
Key: AIRFLOW-1242
URL: https://issues.apache.org/jira/browse/AIRFLOW-1242
Project: Apache Airflow
Issue Type: Bug
Components: gcp
Reporter: Zohar Yahav
Assignee: Zohar Yahav
Priority: Minor
BigQueryHook's _split_tablename method assumes that a project_id that contains
a colon is invalid, although projects can be named "<domain>:<project>".
This means that such projects would have to rely on the default project_id
being set, instead of passing in
"project_id:dataset.table"/"project_id.dataset.table".
Code reference:
https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/bigquery_hook.py#L928
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)