-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom metadata to Tasks in Graph View #27795
Comments
Is this similar to #26457 ? |
Do you have thoughts in mind how this kind of information can be provided by the user? I persume this requires some sort of UI that allows you to modify things both before and after execution. |
I was thinking it would be not be editable through the UI, and it would be essentially the same as I guess the most similar implementation would be adding a |
That makes sense, thanks for the clarification. |
Feel free to take it. essentially what’s requested here is we add a |
Description
This feature would enable the user to add custom metadata that would be viewable within the tooltip upon hovering on a Task in Graph View.
Currently when the user hovers on a Task in Graph View, they can see the following:
There is a DAG run
There is no DAG run
TaskGroups allow the user to add custom information to the tooltip by providing it in the
tooltip
field on instantiation:The information in the tooltip could be fully customizable, or scoped to a specific use case - for example, adding just the Dataset associated with a task.
Use case/motivation
General information about a task
TaskGroups allow the user to provide custom metadata about a task. This would be similarly useful for Tasks.
Sources and Targets
Tasks often have information like source and target. Airflow 2.4 introduced the concept of Datasets. In Dataset view, the user can see which tasks influence datasets. This information would also be useful in Graph View - on hover, the user could see the Dataset(s) specified to the Operator.
Related issues
AIP-34 added TaskGroup. Users can customize the information in a TaskGroup's tooltip.
AIP-34 implemented Issue #8078.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: