Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit a4bd3f7

Browse files
committed
Enhance docs
1 parent b08de38 commit a4bd3f7

File tree

2 files changed

+30
-13
lines changed

2 files changed

+30
-13
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
## Deprecation Notice
2-
This provider is now deprecated since version 0.3.0 and will not be maintained. Please use the official [Apache Airflow Databricks Provider >= 6.8.0](https://airflow.apache.org/docs/apache-airflow-providers-databricks/stable/index.html) instead.
2+
3+
With the release ``0.3.0`` of the ``astro-provider-databricks`` package, this provider stands deprecated and will
4+
no longer receive updates. We recommend migrating to the official ``apache-airflow-providers-databricks>= 6.8.0`` for the latest features and support.
5+
For the operators and sensors that are deprecated in this repository, migrating to the official Apache Airflow Databricks Provider
6+
is as simple as changing the import path in your DAG code as per the below examples.
7+
8+
| Previous import path used (Deprecated now) | Suggested import path to use |
9+
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
10+
| `from astro_databricks.operators.notebook import DatabricksNotebookOperator` | `from airflow.providers.databricks.operators.databricks import DatabricksNotebookOperator` |
11+
| `from astro_databricks.operators.workflow import DatabricksWorkflowTaskGroup` | `from airflow.providers.databricks.operators.databricks_workflow import DatabricksWorkflowTaskGroup` |
12+
| `from astro_databricks.operators.common import DatabricksTaskOperator` | `from airflow.providers.databricks.operators.databricks import DatabricksTaskOperator` |
13+
| `from astro_databricks.plugins.plugin import AstroDatabricksPlugin` | `from airflow.providers.airflow.providers.databricks.plugins.databricks_workflow import DatabricksWorkflowPlugin` |
14+
15+
# Archives
316

417
<h1 align="center">
518
Databricks Workflows in Airflow

docs/index.rst

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,23 @@ Deprecation Notice
66
------------------
77

88
With the release ``0.3.0`` of the ``astro-provider-databricks`` package, this provider stands deprecated and will
9-
no longer receive updates. We recommend migrating to the official Apache Airflow Databricks Provider for the latest features and support.
9+
no longer receive updates. We recommend migrating to the official ``apache-airflow-providers-databricks>=6.8.0`` for the latest features and support.
1010
For the operators and sensors that are deprecated in this repository, migrating to the official Apache Airflow Databricks Provider
11-
is as simple as changing the import path from
12-
13-
.. code-block::
14-
15-
from astro_databricks import import SomeOperator
16-
17-
to
18-
19-
.. code-block::
20-
21-
from airflow.providers.databricks.operators.operator_module import SomeOperator
11+
is as simple as changing the import path in your DAG code as per the below examples.
12+
13+
.. list-table:: Import paths to change for migrating to the official Apache Airflow Databricks Provider
14+
:header-rows: 1
15+
16+
* - Previous import path used
17+
- Newer import path to use
18+
* - from astro_databricks.operators.notebook import DatabricksNotebookOperator
19+
- from airflow.providers.databricks.operators.databricks import DatabricksNotebookOperator
20+
* - from astro_databricks.operators.workflow import DatabricksWorkflowTaskGroup
21+
- from airflow.providers.databricks.operators.databricks_workflow import DatabricksWorkflowTaskGroup
22+
* - from astro_databricks.operators.common import DatabricksTaskOperator
23+
- from airflow.providers.databricks.operators.databricks import DatabricksTaskOperator
24+
* - from astro_databricks.plugins.plugin import AstroDatabricksPlugin
25+
- from airflow.providers.airflow.providers.databricks.plugins.databricks_workflow import DatabricksWorkflowPlugin
2226

2327

2428
Astro Databricks Provider

0 commit comments

Comments
 (0)