Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10']
airflow: [2.5]
airflow: [2.7]
if: >-
github.event_name == 'push' ||
(
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
fail-fast: false
matrix:
python: ['3.8', '3.9', '3.10']
airflow: ['2.3', '2.4', '2.5', '2.6', '2.7', '2.8']
airflow: ['2.7', '2.8']

if: >-
github.event_name == 'push' ||
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
path: ./.coverage
env:
DATABRICKS_CONN_TOKEN: ${{ secrets.DATABRICKS_CONN_TOKEN }}
DATABRICKS_CONN_HOST: {{ secrets.DATABRICKS_CONN_HOST }}
DATABRICKS_CONN_HOST: ${{ secrets.DATABRICKS_CONN_HOST }}
DATABRICKS_CONN: ${{ secrets.AIRFLOW_CONN_DATABRICKS_DEFAULT }}


Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

0.3.0rc1 (06-08-24)
-------------------

Deprecations

* Deprecate the provider and proxy instantiations to upstream official Apache Airflow Databricks provider (PR `#84 <https://github.com/astronomer/astro-provider-databricks/pull/84>`_ by @pankajkoti)


0.2.2 (16-04-24)
----------------

Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## Deprecation Notice

With the release ``0.3.0`` of the ``astro-provider-databricks`` package, this provider stands deprecated and will
no longer receive updates. We recommend migrating to the official ``apache-airflow-providers-databricks>= 6.8.0`` for the latest features and support.
For the operators and sensors that are deprecated in this repository, migrating to the official Apache Airflow Databricks Provider
is as simple as changing the import path in your DAG code as per the below examples.

| Previous import path used (Deprecated now) | Suggested import path to use |
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| `from astro_databricks.operators.notebook import DatabricksNotebookOperator` | `from airflow.providers.databricks.operators.databricks import DatabricksNotebookOperator` |
Comment thread
pankajkoti marked this conversation as resolved.
| `from astro_databricks.operators.workflow import DatabricksWorkflowTaskGroup` | `from airflow.providers.databricks.operators.databricks_workflow import DatabricksWorkflowTaskGroup` |
| `from astro_databricks.operators.common import DatabricksTaskOperator` | `from airflow.providers.databricks.operators.databricks import DatabricksTaskOperator` |
| `from astro_databricks.plugins.plugin import AstroDatabricksPlugin` | `from airflow.providers.airflow.providers.databricks.plugins.databricks_workflow import DatabricksWorkflowPlugin` |

# Archives

<h1 align="center">
Databricks Workflows in Airflow
</h1>
Expand Down
27 changes: 27 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
.. warning::
All the operators and their functionality within this repository have been deprecated and will not receive further updates.
Read more about the deprecation in the `Deprecation Notice` section below.

Deprecation Notice
------------------

With the release ``0.3.0`` of the ``astro-provider-databricks`` package, this provider stands deprecated and will
no longer receive updates. We recommend migrating to the official ``apache-airflow-providers-databricks>=6.8.0`` for the latest features and support.
For the operators and sensors that are deprecated in this repository, migrating to the official Apache Airflow Databricks Provider
is as simple as changing the import path in your DAG code as per the below examples.

.. list-table:: Import paths to change for migrating to the official Apache Airflow Databricks Provider
:header-rows: 1

* - Previous import path used
- Newer import path to use
* - from astro_databricks.operators.notebook import DatabricksNotebookOperator
- from airflow.providers.databricks.operators.databricks import DatabricksNotebookOperator
* - from astro_databricks.operators.workflow import DatabricksWorkflowTaskGroup
- from airflow.providers.databricks.operators.databricks_workflow import DatabricksWorkflowTaskGroup
* - from astro_databricks.operators.common import DatabricksTaskOperator
- from airflow.providers.databricks.operators.databricks import DatabricksTaskOperator
* - from astro_databricks.plugins.plugin import AstroDatabricksPlugin
- from airflow.providers.airflow.providers.databricks.plugins.databricks_workflow import DatabricksWorkflowPlugin


Astro Databricks Provider
=========================

Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ classifiers = [
"Programming Language :: Python :: 3.10",
]
dependencies = [
"apache-airflow>=2.3",
"databricks-sql-connector>=2.0.4;python_version>='3.10'",
"databricks-cli>=0.17.7",
"apache-airflow-providers-databricks>=2.2.0",
"mergedeep",
"pydantic>=1.10.0",
"apache-airflow>=2.7",
"apache-airflow-providers-databricks>=6.8.0",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/astro_databricks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from astro_databricks.operators.notebook import DatabricksNotebookOperator
from astro_databricks.operators.workflow import DatabricksWorkflowTaskGroup

__version__ = "0.2.2"
__version__ = "0.3.0rc1"
__all__ = [
"DatabricksNotebookOperator",
"DatabricksWorkflowTaskGroup",
Expand Down
Loading