Separate dag/task UI display name from dag / task id
See original GitHub issueDescription
- Enable users to use their national characters, which are usually non-ASCIIs as the display name of their dags / tasks.
Use case/motivation
- At present, only ASCIIs are allowed for dag_id and task_id as shown in this comment.
- However, in many cases, users would like to use their national characters for their dag_ids and task_ids, which apparently leads to some existing issues, related: #21127, #18010
- Enabling non-ASCII dag_id / task_id would be a great idea to solve these issues as commented here
- For a quick fix, maybe we could add a new optional field
display_namefor both dag and task. - Considering backward compatibility, dag_id or task_id will be used as UI display name if the field
display_nameis None.
UPDATE (by @potiuk):
- any solution to this one should also include possibility of specifying names for dynamically mapped tasks (individually - per mapped index id)
Related issues
related: #21127 related: #18010 related: #23020
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:14 (9 by maintainers)
Top Results From Across the Web
AirFlow concepts, dag_id, task_id - Google Groups
Am I right that AirFlow uses different concept. I have to manually assign DAG/task id and I ca'y run in parallel the same...
Read more >DAGs — Airflow Documentation
There are two main ways to declare individual task dependencies. ... You can load up the Airflow UI, navigate to your DAG, and...
Read more >Why airflow throwing exception when task name and task id ...
... name was different, it was happening because I was using the task name instead of task_id with the test command. When testing...
Read more >Manage DAG and task dependencies in Airflow
Learn how to manage dependencies between tasks and TaskGroups in Apache Airflow, including how to set dynamic dependencies.
Read more >View DAGs, DAG runs, and tasks | Cloud Composer
DAG UI is a section of Google Cloud console interface for Cloud Composer dedicated to viewing and monitoring DAGs, DAG runs, and individual...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Following up from the discussion in #23020 - this feature should also include naming of mapped tasks.
Awesome! This is really helpful - I will take it from here.