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

ASF subversion and git services commented on AIRFLOW-800:
---------------------------------------------------------

Commit 69334fc44726784f2351ef5ecc9ce8be18e88939 in incubator-airflow's branch 
refs/heads/master from [~kaxilnaik]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=69334fc ]

[AIRFLOW-800] Initialize valid Google BigQuery Connection

- Modified `GoogleCloudBaseHook` to change the
name of parameter `conn_id` to keep it consistent
with other Hooks.
- Changed the connection to `GoogleCloudBaseHook`
instead of `BigQueryHook` which was causing an
invalid `conn_type` creation during `airflow
initdb`

Closes #3031 from kaxil/AIRFLOW-800


> Initialize default Google BigQuery Connection with valid conn_type
> ------------------------------------------------------------------
>
>                 Key: AIRFLOW-800
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-800
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: utils
>            Reporter: Wilson Lian
>            Assignee: Kaxil Naik
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> {{airflow initdb}} creates a connection with conn_id='bigquery_default' and 
> conn_type='bigquery'. However, bigquery is not a valid conn_type, according 
> to models.Connection._types, and BigQuery connections should use the 
> google_cloud_platform conn_type.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to