moiseenkov opened a new pull request, #32857: URL: https://github.com/apache/airflow/pull/32857
Refactored `Session.execute()` calls to SqlAlchemy 2.0 style by wrapping plain text SQL queries with `text()` function. It eliminates the warning message: ` Using plain strings to indicate SQL statements without using the text() construct is deprecated and will be removed in version 2.0. Ensure plain SQL statements are passed using the text() construct. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) ` SqlAlchemy documentation: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#execute-method-more-strict-execution-options-are-more-prominent Related issue: #28723 -- 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]
