You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "BasPH (via GitHub)" <gi...@apache.org> on 2025/06/10 15:34:23 UTC
[I] DAG dependencies view doesn't display mapped operators [airflow]
BasPH opened a new issue, #51583:
URL: https://github.com/apache/airflow/issues/51583
### Apache Airflow version
Other Airflow 2 version (please specify below)
### If "Other Airflow 2 version" selected, which one?
Checked on 2.9.3 and 2.11
### What happened?
The DAG dependencies view doesn't display dependencies that are mapped operators. For example:
```python
import datetime
from airflow import DAG
from airflow.operators.empty import EmptyOperator
from airflow.operators.trigger_dagrun import TriggerDagRunOperator
with DAG(
"dag_dependencies_dag_b",
start_date=datetime.datetime(2025, 1, 1),
schedule=None,
):
EmptyOperator(task_id="empty")
with DAG(
"dag_dependencies_dag_a",
start_date=datetime.datetime(2025, 1, 1),
schedule=None,
):
TriggerDagRunOperator.partial(task_id="trigger_dag_run", trigger_dag_id="dag_dependencies_dag_b").expand(
conf=[{"a": 1}, {"b": 2}, {"c": 3}]
)
```
Tested on Airflow 2.9.3 & 2.11, since there's no DAG dependencies view on Airflow 3 yet.
### What you think should happen instead?
The `trigger_dag_id` is configured via `partial` so it should be clear which dependency is set.
### How to reproduce
Set code above.
### Operating System
n/a
### Versions of Apache Airflow Providers
_No response_
### Deployment
Astronomer
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-2960302109
I was able to re-produce this exact behavior.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-5366464374
This issue has been closed because it has not received response from the issue author.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "Lee-W (via GitHub)" <gi...@apache.org>.
Lee-W commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-3092319660
Just validate it. Remove `needs-triage`. I guess it is related to `/ui/structure/structure_data`.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #51583: DAG dependencies view doesn't display mapped operators
URL: https://github.com/apache/airflow/issues/51583
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "BasPH (via GitHub)" <gi...@apache.org>.
BasPH commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-2959770518
How a non-mapped operator looks (`TriggerDagRunOperator(task_id="trigger_dag_run", trigger_dag_id="dag_dependencies_dag_b")`):

But when using a mapped operator using the code above:

--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-2959757698
Can you please share a screenshot of what you are seeing for both DAGs?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] DAG dependencies view doesn't display mapped operators [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #51583:
URL: https://github.com/apache/airflow/issues/51583#issuecomment-5031443839
This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org