You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2025/03/19 18:23:13 UTC
[I] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
uranusjr opened a new issue, #47970:
URL: https://github.com/apache/airflow/issues/47970
### Body
They are direct SQLAlchemy relationships to only concrete references (DagAssetScheduleReference and TaskOutletAssetReference). Not quite sure how to fix this. Maybe they should be plain properties that return list-of-union instead? We don’t really need those relationships….
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
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] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr commented on issue #47970:
URL: https://github.com/apache/airflow/issues/47970#issuecomment-2737644292
Instead of union, we could also resolve the refs lazily when the property is accessed. This should cause a lot fewer compatibility issues; we’ll only need to fix SQL queries and assignments (no setter allowed).
--
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] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr commented on issue #47970:
URL: https://github.com/apache/airflow/issues/47970#issuecomment-2787354798
I’m thinking we should avoid supporting ref in outlets for now. This should be frowned on anyway since it indirectly encourages multiple DAGs to output to the same asset, which is kind of weird. We’ll emit a clear dag error at parse time for this.
We should do something with using ref in `schedule`. This makes sense.
--
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] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #47970:
URL: https://github.com/apache/airflow/issues/47970#issuecomment-5287984810
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] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr commented on issue #47970:
URL: https://github.com/apache/airflow/issues/47970#issuecomment-2804616696
Actually we already supports this in `schedule`.
https://github.com/apache/airflow/blob/8dc0e55234db62369f7563d89e252cf190e0d1a8/airflow-core/src/airflow/assets/manager.py#L163-L207
So really this is only a presentation problem. We don’t show dags as 'consuming' in API (and web UI?)
--
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] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #47970:
URL: https://github.com/apache/airflow/issues/47970#issuecomment-4966493668
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
Re: [I] "consuming_dags" and "producing_tasks" do not correct account for Asset.ref [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #47970: "consuming_dags" and "producing_tasks" do not correct account for Asset.ref
URL: https://github.com/apache/airflow/issues/47970
--
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