Interview practice question
Passing a DataFrame between tasks
Data Engineering · Airflow · Beginner
A developer passes a large pandas DataFrame between tasks via XCom, and the Airflow database is growing fast. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- XCom is for small metadata, not datasets.
- Write data to S3 or a table and pass the path.
- Consider an object storage XCom backend.
- Clean up existing large XComs.
- Push heavy processing to a proper engine.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.