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 PrestoToSlackOperator #25425

Merged
merged 1 commit into from
Aug 2, 2022
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
2 changes: 2 additions & 0 deletions airflow/providers/presto/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Breaking changes
Deprecated ``hql`` parameter has been removed in ``get_records``, ``get_first``, ``get_pandas_df`` and ``run``
methods of the ``PrestoHook``.

Remove ``PrestoToSlackOperator`` in favor of Slack provider ``SqlToSlackOperator``.

3.1.0
.....

Expand Down
4 changes: 0 additions & 4 deletions airflow/providers/presto/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ transfers:
how-to-guide: /docs/apache-airflow-providers-presto/operators/transfer/gcs_to_presto.rst
python-module: airflow.providers.presto.transfers.gcs_to_presto

- source-integration-name: Presto
target-integration-name: Slack
how-to-guide: /docs/apache-airflow-providers-presto/operators/transfer/presto_to_slack.rst
python-module: airflow.providers.presto.transfers.presto_to_slack

connection-types:
- hook-class-name: airflow.providers.presto.hooks.presto.PrestoHook
Expand Down
96 changes: 0 additions & 96 deletions airflow/providers/presto/transfers/presto_to_slack.py

This file was deleted.

6 changes: 0 additions & 6 deletions docs/apache-airflow-providers-presto/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ Content

PrestoTransferOperator types <operators/transfer/gcs_to_presto>

.. toctree::
:maxdepth: 1
:caption: Guides

PrestoToSlackOperator types <operators/transfer/presto_to_slack>

.. toctree::
:maxdepth: 1
:caption: References
Expand Down

This file was deleted.

3 changes: 1 addition & 2 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,7 @@
],
"cross-providers-deps": [
"common.sql",
"google",
"slack"
"google"
]
},
"qubole": {
Expand Down
105 changes: 0 additions & 105 deletions tests/providers/presto/transfers/test_presto_to_slack.py

This file was deleted.

54 changes: 0 additions & 54 deletions tests/system/providers/presto/example_presto_to_slack.py

This file was deleted.