Skip to content
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
3 changes: 1 addition & 2 deletions docs/apache-airflow-providers-mysql/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ How-to Guide for Mysql using SQLExecuteQueryOperator
Use the :class:`~airflow.providers.common.sql.operators.SQLExecuteQueryOperator` to execute
SQL commands in a `MySql <https://dev.mysql.com/doc/>`__ database.

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

Using the Operator
^^^^^^^^^^^^^^^^^^
Expand Down
14 changes: 14 additions & 0 deletions providers/src/airflow/providers/mysql/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@
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.mysql.operators.mysql.MySqlOperator``. Please use ``airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator``.
Also, you can provide `hook_params={'schema': <database>}`.

5.7.4
.....

Expand Down
17 changes: 0 additions & 17 deletions providers/src/airflow/providers/mysql/operators/__init__.py

This file was deleted.

76 changes: 0 additions & 76 deletions providers/src/airflow/providers/mysql/operators/mysql.py

This file was deleted.

6 changes: 0 additions & 6 deletions providers/src/airflow/providers/mysql/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ integrations:
logo: /integration-logos/mysql/MySQL.png
tags: [software]

operators:
- integration-name: MySQL

python-modules:
- airflow.providers.mysql.operators.mysql

hooks:
- integration-name: MySQL
python-modules:
Expand Down
17 changes: 0 additions & 17 deletions providers/tests/mysql/operators/__init__.py

This file was deleted.

201 changes: 0 additions & 201 deletions providers/tests/mysql/operators/test_mysql.py

This file was deleted.