uranusjr commented on issue #21171:
URL: https://github.com/apache/airflow/issues/21171#issuecomment-1102182947

   Yeah it seems like we need something slightly different from the 
implementation in SQLAlchemy-UTC.
   
   It seems like Airflow currently renders `func.now()` as:
   
   * SQLite: `CURRENT_TIMESTAMP`
   * PostgreSQL: `now()`
   * MySQL: `now()`
   * Microsoft SQL Server: `now()`
   
   I guess what we need is to change the SQL Server one to `GETDATE()`? That 
shouldn’t be too hard, and (I believe) SQLAlchemy lets us register the custom 
function to `func` as well.


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