You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/03/05 01:47:50 UTC

[GitHub] [airflow] methane removed a comment on issue #4802: [AIRFLOW-3978] - Add TIME, BINARY, VARBINARY to MySqlToGoogleCloudStorageOperator

methane removed a comment on issue #4802: [AIRFLOW-3978] - Add TIME, BINARY, VARBINARY to MySqlToGoogleCloudStorageOperator
URL: https://github.com/apache/airflow/pull/4802#issuecomment-468888626
 
 
   I confirmed that information needed to distinguish string and binary types are
   exposed in private member.
   
   ```py
   from MySQLdb.constants import FLAG
   ...
   if cursor._result.field_flags & FLAG.BINARY:
       # It's binary.
   else:
       # It's string.
   ```

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


With regards,
Apache Git Services