nuclearpinguin commented on a change in pull request #7641: [AIRFLOW-7001] Time
zone removed from MySQL TIMSTAMP field inserts
URL: https://github.com/apache/airflow/pull/7641#discussion_r389243706
##########
File path: airflow/utils/sqlalchemy.py
##########
@@ -34,6 +34,11 @@
utc = pendulum.timezone('UTC')
+using_mysql = False
+
+if conf.get('core', 'sql_alchemy_conn').lower().startswith('mysql'):
+ using_mysql = True
Review comment:
```suggestion
using_mysql = conf.get('core',
'sql_alchemy_conn').lower().startswith('mysql')
```
----------------------------------------------------------------
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