Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Provider Deprecations in Microsoft-MSSQL #44762

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.