Skip to content

Commit

Permalink
Remove Provider Deprecations in Microsoft-MSSQL (#44762)
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheffl authored Dec 7, 2024
1 parent e786c78 commit 75b24e8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 178 deletions.
4 changes: 2 additions & 2 deletions docs/apache-airflow-providers-microsoft-mssql/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ The purpose of this guide is to define tasks involving interactions with the MSS
Use the :class:`SQLExecuteQueryOperator <airflow.providers.common.sql.operators.sql>` to execute
SQL commands in MSSQL database.

.. warning::
Previously, MsSqlOperator was used to perform this kind of operation. But at the moment MsSqlOperator is deprecated and will be removed in future versions of the provider. Please consider to switch to SQLExecuteQueryOperator as soon as possible.
.. note::
Previously, ``MsSqlOperator`` was used to perform this kind of operation. Please use ``SQLExecuteQueryOperator`` instead.

Common Database Operations with SQLExecuteQueryOperator
-------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions providers/src/airflow/providers/microsoft/mssql/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@
Changelog
---------

main
....

Breaking changes
~~~~~~~~~~~~~~~~

.. warning::
All deprecated classes, parameters and features have been removed from the MySQL provider package.
The following breaking changes were introduced:

* Operators
* Remove ``airflow.providers.microsoft.mssql.operators.mssql.MsSqlOperator``. Please use ``airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator``.

3.9.2
.....

Expand Down

This file was deleted.

73 changes: 0 additions & 73 deletions providers/src/airflow/providers/microsoft/mssql/operators/mssql.py

This file was deleted.

5 changes: 0 additions & 5 deletions providers/src/airflow/providers/microsoft/mssql/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ integrations:
- /docs/apache-airflow-providers-microsoft-mssql/operators.rst
tags: [software]

operators:
- integration-name: Microsoft SQL Server (MSSQL)
python-modules:
- airflow.providers.microsoft.mssql.operators.mssql

hooks:
- integration-name: Microsoft SQL Server (MSSQL)
python-modules:
Expand Down
16 changes: 0 additions & 16 deletions providers/tests/microsoft/mssql/operators/__init__.py

This file was deleted.

65 changes: 0 additions & 65 deletions providers/tests/microsoft/mssql/operators/test_mssql.py

This file was deleted.

0 comments on commit 75b24e8

Please sign in to comment.