houqp edited a comment on pull request #11621: URL: https://github.com/apache/airflow/pull/11621#issuecomment-749771427
I have isolated this to the `execute` function in `MySQLdb/cursors.py`, it calls `db.literal` on query args, which evaluates enum value `DagRunType.SCHEDULED` to `'DagRunType.SCHEDULED'`. So looks like we can't guarantee consistent enum type handling behaviors between db drivers. see: https://github.com/PyMySQL/mysqlclient/blob/ca630c01fb39f252a4c91a525e440beea4ac4447/MySQLdb/connections.py#L288 ---------------------------------------------------------------- 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]
