You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Yiming Liu (Jira)" <ji...@apache.org> on 2019/11/12 19:45:00 UTC

[jira] [Created] (AIRFLOW-5909) MySqlToGCSOperator failed to map "binary-related" MySQL data types

Yiming Liu created AIRFLOW-5909:
-----------------------------------

             Summary: MySqlToGCSOperator failed to map "binary-related" MySQL data types
                 Key: AIRFLOW-5909
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5909
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators
    Affects Versions: 1.10.6, 1.10.5, 1.10.4
            Reporter: Yiming Liu
            Assignee: Yiming Liu


Current MySqlToGoogleCloudStorageOperator failed to map data types such as VARBINARY to bytes in GCS.
That’s because reading schema from mysql cannot discern {{VARBINARY}} and {{VARCHAR.}}
 We will need to pass a {{schema}} externally instead of using the one read from mysql DB. We have the fix in https://issues.apache.org/jira/browse/AIRFLOW-2169      [https://github.com/apache/airflow/pull/3091/commits/6f96f0f79b825f325026ab1f29defb203def3964])  but somehow we lost the fix during the operators reorganizes.

 
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)