andersbogsnes opened a new pull request, #27796: URL: https://github.com/apache/airflow/pull/27796
When using Basehook.get_uri() with a postgres connection, the scheme of the returned URI will be postgres instead of postgresql. SQLAlchemy expects postgres URIs to have the `postgresql` and errors when trying to use URIs generated in this way I've implemented the bugfix with the simplest possible change, though I imagine the "proper" fix would be to rename the Postgres connection type to `postgresql` though I imagine this would require more extensive rework as well as potentially breaking existing installations closes: #27474 -- 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]
