Closed Bug 1761340 Opened 4 years ago Closed 4 years ago

Use Airflow 2.0's built-in ExternalTaskSensor to enable DAG Dependency view

Categories

(Data Platform and Tools :: General, enhancement, P3)

enhancement
Points:
3

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: klukas, Assigned: ascholtz)

Details

(Whiteboard: [dataplatform])

Airflow includes a DAG dependencies view that currently is flat for WTMO. This is because we're using a custom a custom variant of ExternalTaskSensor which is annotated with "Once we update to Airflow 2, this implementation can be deprecated in favour of ExternalTaskSensor". We're on Airflow 2 now, so should be able to pursue this.

Rough acceptance criteria here:

  • Migrate a single DAG in telemetry-airflow to use ExternalTaskSensor, merge, and observe whether behavior is as we expect
  • Migrate any remaining uses of ExternalTaskSensor in telemetry-airflow
  • Update the bigquery-etl DAG generation machinery to use the built-in ExternalTaskSensor

Note that Airflow now also offers Deferrable Operators which we could eventually choose to test and use to replace ExternalTaskSensor. Also see related DSRE ticket.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Assignee: nobody → ascholtz
Whiteboard: [data-platform-infra-wg] → [dataplatform]
You need to log in before you can comment on or make changes to this bug.