-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Description
Description
- 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: Fail to download task log if there are Chinese characters in dag_id #21127, Airflow scheduler with statsd enabled crashes when dag_id contains unexpected characters #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
Reactions are currently unavailable