Skip to content

Commit b000928

Browse files
authored
Add warning in changelog: use OdbcHook for ODBC drivers instead of MsSqlHook (apache#52646)
* add warn message when use odbc driver * move to breaking change
1 parent 7d47e93 commit b000928

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

providers/microsoft/mssql/docs/changelog.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ Breaking changes
137137
* Operators
138138
* Remove ``airflow.providers.microsoft.mssql.operators.mssql.MsSqlOperator``. Please use ``airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator``.
139139

140+
If you are using an ODBC driver, please use ``airflow.providers.odbc.hooks.OdbcHook`` instead of ``MsSqlHook`` as it is specifically
141+
designed to handle ODBC-specific parameters like 'driver' and 'encrypt'.
142+
140143
* ``Remove Provider Deprecations in Microsoft-MSSQL (#44762)``
141144

142145
Features

0 commit comments

Comments
 (0)