Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Starts Airflow task execution directly from the...
Search
Lee Wei
May 08, 2024
Technology
170
0
Share
Starts Airflow task execution directly from the triggerer
Lee Wei
May 08, 2024
More Decks by Lee Wei
See All by Lee Wei
觸發觸發器器,那個你可能不熟的 Apache Airflow 元件
leew
0
80
20251127 開源菜雞的隨意雜談
leew
0
33
住手啊,這樣用 Python 寫程式沒有人會獲得幸福的
leew
0
83
Unlocking the Future of Data Pipeline
leew
0
270
Hold on! You have a data team in PyCon Taiwan!
leew
0
50
朝聖之路
leew
0
130
20250328 Airflow 3.0 The First Glance
leew
0
360
踏入開源的第一步
leew
0
250
Unleash the Chaos - Developing a Linter for Un-Pythonic Code!
leew
0
150
Other Decks in Technology
See All in Technology
今年注目する!データ分析プラットフォームでのAIの活用
nayuts
0
150
The Journey of Box Building
tagomoris
4
3.2k
PicoRuby as a Multi-VM Operating System
kishima
1
180
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
240
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
240
マルチプロダクトの信頼性を効率良く保っていくために
kworkdev
PRO
0
170
AI時代 に増える データ活用先
takahal
0
290
小説執筆のハーネスエンジニアリング
yoshitetsu
0
740
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
2.2k
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
160
CloudTrail を見つめ直してみる
kazzpapa3
1
100
Chasing Real-Time Observability for CRuby
whitegreen
0
190
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
270
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Building Applications with DynamoDB
mza
96
7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
Optimizing for Happiness
mojombo
378
71k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
Starts Air fl ow task execution directly from the triggerer
$ cat weilee.py __name__ = 李唯 / Wei Lee __what_i_am_doing__
= [ Software Engineer @ Astronomer, Committer @ Apache Airflow, Volunteers @ PyCon Taiwan, Maintainer of commitizen-tools, ] __github__ = G Lee-W __linkedin__ = l clleew __site__ = p http://wei-lee.me
File "weilee.py", line 1 __name__ = 李唯 / Wei Lee
^^^ SyntaxError: invalid syntax $ python weilee.py
None
How did deferrable operators work before this change?
What has been changed?
What has been changed?
What it could be in the future
But why?
"execute" methods are not always needed This is the only
logic when deferrable is set to true and does not need to be executed in the worker.
How does it affect DAG authors? More ef fi cient
operators to come
How does it affect operator authors? A new way to
implement operators in an async manner
The Original Way
The New Way
How does it work under the hook?
How does it work under the hook?
How does it work under the hook?
Limitations • It is necessary to go back to workers
to run the next_method (e.g., "execute_complete") • This feature does not yet fully support MappedOperator.