Skip to content

Commit

Permalink
Remove Provider Deprecations in Sqlite (apache#44707)
Browse files Browse the repository at this point in the history
* Remove Provider Deprecations in Sqlite

* Adjust docs after deprecation
  • Loading branch information
jscheffl authored and Lefteris Gilmaz committed Jan 5, 2025
1 parent f2cbdb9 commit 8a854e2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 186 deletions.
4 changes: 2 additions & 2 deletions docs/apache-airflow-providers-sqlite/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ SQLExecuteQueryOperator to connect to Sqlite
Use the :class:`SQLExecuteQueryOperator<airflow.providers.common.sql.operators.sql>` to execute
Sqlite commands in a `Sqlite <https://sqlite.org/lang.html>`__ database.

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

Using the Operator
^^^^^^^^^^^^^^^^^^
Expand Down
13 changes: 13 additions & 0 deletions providers/src/airflow/providers/sqlite/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 Sqlite provider package.
The following breaking changes were introduced:

* Operators
* Remove ``airflow.providers.sqlite.operators.sqlite.SqliteOperator``. Please use ``airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator``.

3.9.1
.....

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

This file was deleted.

59 changes: 0 additions & 59 deletions providers/src/airflow/providers/sqlite/operators/sqlite.py

This file was deleted.

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

operators:
- integration-name: SQLite

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

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

This file was deleted.

85 changes: 0 additions & 85 deletions providers/tests/sqlite/operators/test_sqlite.py

This file was deleted.

0 comments on commit 8a854e2

Please sign in to comment.