hankehly commented on issue #24111:
URL: https://github.com/apache/airflow/issues/24111#issuecomment-1183832282
@rjribeiro You may be aware of this already, but tasks inside task groups
have their IDs prefixed with the group id of the task group. This _may be_
related to your issue.
Can you try adding `prefix_group_id=False` to the `TaskGroup` definition?
Ex.
```py
with TaskGroup("my_group_id", prefix_group_id=False):
@task
def my_task():
...
```
https://airflow.apache.org/docs/apache-airflow/stable/concepts/dags.html?highlight=taskgroup
> By default, child tasks/TaskGroups have their IDs prefixed with the
group_id of their parent TaskGroup. This helps to ensure uniqueness of group_id
and task_id throughout the DAG.
>
> To disable the prefixing, pass prefix_group_id=False when creating the
TaskGroup, but note that you will now be responsible for ensuring every single
task and group has a unique ID of its own.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]