uranusjr commented on issue #35297: URL: https://github.com/apache/airflow/issues/35297#issuecomment-3489723367
* Purpose on asset extra: I discussed with a few folks and nobody is actually sure, people just assume others need it. I’m proposing to deprecate it for removal in 4.0. https://github.com/apache/airflow/issues/55200 * Easily read/write _asset event_ extra: See documentation: https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/assets.html#attaching-extra-information-to-an-emitting-asset-event * Different to XCom: XCom is more oriented to attach information generated from a task instance, while asset event extra is attached to the asset event. There’s not a one-to-one relationship between these—a task instance can generate events for more than one asset, while multiple task instances can all generate events for the same asset. Use case dictates the choice. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
