You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Zohar Yahav (JIRA)" <ji...@apache.org> on 2017/05/24 18:25:04 UTC
[jira] [Created] (AIRFLOW-1242) BigQueryHook assumes that a valid
project_id can't contain a ':'
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)