dstandish commented on issue #6850: [AIRFLOW-6296] add ODBC hook & deprecation 
warning for pymssql
URL: https://github.com/apache/airflow/pull/6850#issuecomment-576421826
 
 
   @RosterIn do you have an interest in updating these operators? 
(MsSqlToHiveTransfer, MsSqlToGoogleCloudStorageOperator)?
   
   pyodbc returns python objects as documented here: 
https://github.com/mkleehammer/pyodbc/wiki/Data-Types
   
   a type map for pyodbc could be something like this:
   ```
   type_map = {
       int: 'INTEGER',
       datetime: 'TIMESTAMP',
       date: 'DATE',
       Decimal: 'NUMERIC',
       float: 'FLOAT',
       bool: 'BOOLEAN',
   }
   ``` 
   
   i don't use these operators though and i am not sure though about the 
reasoning / impact / nuances of this type mapping process (which originates in 
the base classes) so i don't feel comfortable making those PRs.
   
   @potiuk you guys made a lot of these GCS operators perhaps someone on your 
team knows what is needed here?
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to