You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/05/24 04:00:07 UTC
[jira] [Resolved] (AIRFLOW-4557) The get_sqlproxy_runner() method
of the CloudSqlDatabaseHook requires you to use the
google_cloud_default_connection
[ https://issues.apache.org/jira/browse/AIRFLOW-4557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk resolved AIRFLOW-4557.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.10.4
> 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
> Assignee: Andrew Harmon
> Priority: Minor
> Fix For: 1.10.4, 2.0.0
>
>
> 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)