You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Airflow administrators, we would like to trigger some external processes based on all datasets being created/updated by our users. We came across the listeners for the dag runs and task instances (which are also useful), but are still missing listeners for datasets.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Apart from dataset creation and dataset updates would it also be helpful to introduce hooks for dataset orphaning and unorphaning?
In our use-case we only have a purpose for the dataset creation and dataset updates. However, I could see that others also are interested in the orphaning and unorphaning. What's your take on it @hussein-awala?
@DjVinnii, for docs/release notes purposes, high-level what is your use-case for this? Like what kind of external processes could someone trigger on dataset events?
Like what kind of external processes could someone trigger on dataset events?
We are going to use the dataset listeners in order to synchronize datasets across regional Airflow instances. Unfortunately there is no API endpoint yet to create/update Datasets so we still need to do some tricky workarounds.
Activity
boring-cyborg commentedon Sep 13, 2023
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
hussein-awala commentedon Sep 13, 2023
This would be a cool feature, would you like to work on it?
yermalov-here commentedon Sep 15, 2023
i'd like to try to implement it
yermalov-here commentedon Sep 16, 2023
Apart from
dataset creationanddataset updateswould it also be helpful to introduce hooks for datasetorphaningandunorphaning?DjVinnii commentedon Sep 17, 2023
In our use-case we only have a purpose for the
dataset creationanddataset updates. However, I could see that others also are interested in theorphaningandunorphaning. What's your take on it @hussein-awala?Add Listener hooks for Datasets (#34418)
cmarteepants commentedon Dec 11, 2023
@DjVinnii, for docs/release notes purposes, high-level what is your use-case for this? Like what kind of external processes could someone trigger on dataset events?
DjVinnii commentedon Dec 11, 2023
@cmarteepants
We are going to use the dataset listeners in order to synchronize datasets across regional Airflow instances. Unfortunately there is no API endpoint yet to create/update Datasets so we still need to do some tricky workarounds.