XD-DENG commented on a change in pull request #4802: [AIRFLOW-3978] - Add TIME, 
BINARY, VARBINARY to MySqlToGoogleCloudStorageOperator
URL: https://github.com/apache/airflow/pull/4802#discussion_r261267346
 
 

 ##########
 File path: airflow/contrib/operators/mysql_to_gcs.py
 ##########
 @@ -273,6 +273,8 @@ def type_map(cls, mysql_type):
         d = {
             FIELD_TYPE.INT24: 'INTEGER',
             FIELD_TYPE.TINY: 'INTEGER',
+            FIELD_TYPE.BINARY: 'BINARY',
+            FIELD_TYPE.VARBINARY: 'BINARY',
 
 Review comment:
   It's the same: 
https://github.com/PyMySQL/mysqlclient-python/blob/master/MySQLdb/constants/FIELD_TYPE.py

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to