You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/01 14:17:57 UTC

[GitHub] [airflow] bolkedebruin edited a comment on issue #17984: Add possibility to LineageBackend to be notified of task instance execution start and failure

bolkedebruin edited a comment on issue #17984:
URL: https://github.com/apache/airflow/issues/17984#issuecomment-956272791


   I thin it is okay to streach the defintion of lineage like this. However, then I would not call it data lineage anymore. It is more like a generic auditing system then as it not only tracks data but starts tracking tasks as well. Is that the intention? We can expose this kind of information of course. `post_execute` seems ambigious in its defintion as it is unclear whether is is ran on success only. I prefer airflow to have a `on_state_change(old, new, context))` function which we can decorate with a plugin kind of way to handle this so you can tie in the LineageBackend to register to these state changes.
   
   Does that make sense?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org