pierrejeambrun opened a new pull request, #22882:
URL: https://github.com/apache/airflow/pull/22882

   closes: https://github.com/apache/airflow/issues/11370
   
   Here is the first draft to add support for `date` `datetime` and `time` to 
`MSSQLToGCSOperator.convert_type`.
   I added some tests to this function.
   
   This way we can export a schema that has date, datetime and time columns.
   
   Date and Time are for now uploaded as STRING field to big query, which is 
not great. Both of them have `2` returned for type oid, which makes it not 
trivial to map to the correct big query type.
   
   
![schema](https://user-images.githubusercontent.com/14861206/162589255-9cb105be-227d-4fcd-889d-53ab345d6125.png)
   
![data](https://user-images.githubusercontent.com/14861206/162589258-378a2607-c13a-4ac6-b035-6e3ef4c930b8.png)
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to