question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Separate dag/task UI display name from dag / task id

See original GitHub issue

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: #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_name for both dag and task.
  • Considering backward compatibility, dag_id or task_id will be used as UI display name if the field display_name is 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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
potiukcommented, Aug 4, 2022

Following up from the discussion in #23020 - this feature should also include naming of mapped tasks.

2reactions
korodercommented, Aug 2, 2022

Awesome! This is really helpful - I will take it from here.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found