airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [airflow] dstandish commented on issue #6850: [AIRFLOW-6296] add mssql odbc hook
Date Tue, 07 Jan 2020 19:18:00 GMT
dstandish commented on issue #6850: [AIRFLOW-6296] add mssql odbc hook
   > One of the things I'd like to support is to directly pass in the ODBC connection string
   @vamega the present design supports this :)
   You can get some details from [the doc](
   Looking at [the tests](
also demonstrates expected behavior.
   I don't like having to mess with odbc.ini either.  I want to support usage of DSN but not
require it.
   The basic approach though is this:
   * user / password / host / database / port are obtained from standard `Connection` attributes

   * any odbc params supplied in `Connection.extra` will be added to connection string
   * kwargs meant for `pyodbc.connect` can be supplied under key `connect_kwargs` in extra

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:

With regards,
Apache Git Services

View raw message