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 2018/11/29 08:31:00 UTC

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

Jarek Potiuk created AIRFLOW-3416:
-------------------------------------

             Summary: 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: New Feature
          Components: contrib
    Affects Versions: 1.10.1
            Reporter: Jarek Potiuk
            Assignee: Jarek Potiuk


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)