2. There is a feature 'XCom' which allows you to use the Airflow database as a key-value store. If you wish DAG and task instances to see particular
data items, you can store them via 'XCom'. I have not done this.

Thanks, Lance! An XCom is indeed what we are using now, as also discussed in [2]. We were hesitant to use XComs, though, because of the following statement in the docs, which to us made it seem like XComs should really be avoid if at all possible:

"If it absolutely can’t be avoided, Airflow does have a feature for
operator cross-communication called XCom that is described elsewhere in
this document."

Some clarification of "how bad" XComs are, under what circumstances to use them, what to put in them etc. would be helpful, I think.

Regards

ap

[2] http://markmail.org/message/5jwz7c64ndnhzqyq

Reply via email to