Closed tatiana closed 1 year ago
Patch coverage: 60.86
% and project coverage change: -0.15
:warning:
Comparison is base (
d3a633c
) 78.47% compared to head (9fdeaa4
) 78.33%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Before this change,
DatabricksWorkflowTaskGroup
(astro-provider-databricks==0.1.3
) did not pass Python dependencies to inner Databricks tasks if they were inside intermediate Airflow Task Groups for Airflow 2.2.4. For newer Airflow versions, it duplicated the dependencies proportionally to the amount of nestedTaskGroup
s.In the example, DAG introduced:
simplejson
dependencysimplejson
dependency is only set at theDatabricksWorkflowTaskGroup
level (example_task_group
)TaskGroup
(my_task_group
)We confirmed the Databricks cluster does not have
simplejson
as a dependency:And we also confirmed the notebooks failed since the cluster does not have this dependency:
All the tasks from this Databricks Workflow have the
simplejson
dependency in Databricks, both the ones inside the inner task group and the ones outside. Examples: