You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/12/02 11:11:00 UTC

[jira] [Resolved] (AIRFLOW-3416) CloudSqlQueryOperator with sql proxy does not work with Python 3.x

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

Kaxil Naik resolved AIRFLOW-3416.
---------------------------------
    Resolution: Fixed

Resolved by https://github.com/apache/incubator-airflow/pull/4254

> CloudSqlQueryOperator with sql proxy does not work with Python 3.x
> ------------------------------------------------------------------
>
>                 Key: AIRFLOW-3416
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3416
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 1.10.1
>            Reporter: Jarek Potiuk
>            Assignee: Jarek Potiuk
>            Priority: Major
>             Fix For: 1.10.2
>
>
> There are compatibility issues with Python 3.x for CloudSQLoperator. Output of cloud_sql_proxy binary is parsed and the output in Python3 is bytes rather than string so several "in"s raise an exception in Python 3. It needs explicit decode('utf-8')



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