dstandish commented on issue #25317: URL: https://github.com/apache/airflow/issues/25317#issuecomment-1195942314
I think we resolved this. Connection.get_uri is for generating airflow conn uri -- which is not the same thing as the uri that sqlalchemy uses for making a db connection (and that's what the Hook get_uri is for). So for airflow connection URI, scheme == conn_type, and that's why it's postgres not postgresql. For sqlalchemy, though, it needs postgresql, and that's what hook provides. -- 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]
