~/talk

AIP-31: Airflow functional DAG definition

Talkat Airflow Summit 2020 · 2020-07-06..07-17· [python, software-architecture]
links:none on file
slides:none on file

Airflow 2.0 implements a functional DAG API that makes message passing explicit by adding an explicit XComArg object (lazy reference resolved at runtime) and a @task decorator that turns Python callables into operators with automatic task ids and multiple outputs. Operators gain a dot.output property so XComs auto-declare dependencies and avoid manual ti.xcom pull/push and set_upstream calls. Master includes custom XCom backend hooks for alternative serialization; get_current_context is pending.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Agenda
  3. 2:47Data passing
  4. 4:56Vanilla Airflow
  5. 7:26Motivations
  6. 10:25Explicit SCOM
  7. 11:48Templated fields
  8. 13:42Python decorators
  9. 14:45App decorators
  10. 16:32Multiple outputs
  11. 18:14Future ideas
  12. 20:23Example
  13. 21:39Thanks
  14. 23:06Motivation
  15. 24:44Making it easier
  16. 26:41Custom classes
  17. 28:02Spark submit operator
  18. 28:37Task progress operator
  19. 30:38Example job
  20. 32:11Connecting functional DAGs and lineage
  21. 33:57How are people using Airflow
  22. 37:06Wrap up
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.