[ 
https://issues.apache.org/jira/browse/AIRFLOW-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Harmon updated AIRFLOW-4557:
-----------------------------------
    Description: 
The get_sqlproxy_runner method of the CloudSqlDatabaseHook returns an instance 
of CloudSqlProxyRunner. This class allows you to specify a connection, but the 
method isn't passing in that parameter. Therefore the default value 
`google_cloud_default` always gets used for the CloudSqlProxyRunner. 

the desired action should be that the CloudSqlProxyRunner uses the connection 
specified in the CloudSqlDatabaseHook

  was:
The get_sqlproxy_runner returns an instance of CloudSqlProxyRunner. This class 
allows you to specify a connection, but the method isn't passing in that 
parameter. Therefore the default value `google_cloud_default` always gets used 
for the CloudSqlProxyRunner. 

the desired action should be that the CloudSqlProxyRunner uses the connection 
specified in the CloudSqlDatabaseHook


> The get_sqlproxy_runner() method of the CloudSqlDatabaseHook requires you to 
> use the google_cloud_default_connection
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4557
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4557
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.10.3
>            Reporter: Andrew Harmon
>            Priority: Minor
>
> The get_sqlproxy_runner method of the CloudSqlDatabaseHook returns an 
> instance of CloudSqlProxyRunner. This class allows you to specify a 
> connection, but the method isn't passing in that parameter. Therefore the 
> default value `google_cloud_default` always gets used for the 
> CloudSqlProxyRunner. 
> the desired action should be that the CloudSqlProxyRunner uses the connection 
> specified in the CloudSqlDatabaseHook



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

Reply via email to