hardStudy question · answer published in AWS interview questions, so no pointsairflowpythonairflow-debugging
Every task loads the last table
Three tasks are created in a loop. When they run, all three load "payments". Why?
for t in ["orders", "users", "payments"]:
PythonOperator(
task_id=f"load_{t}",
python_callable=lambda: load_table(t),
)Discussion 0
Join free to post in the discussion.
Related questions
- Retrying flaky Airflow tasksData Engineer
- What an Airflow sensor doesData Engineer
- Reading a cron scheduleData Engineer
- A CSV bigger than memoryData Engineer
- Operator, task and task instanceData Engineer
- What the scheduler doesData Engineer
- Metadata database for productionData Engineer
- What @weekly meansData Engineer