ashb commented on pull request #13199:
URL: https://github.com/apache/airflow/pull/13199#issuecomment-811810358


   > To make it clear, the main structure behind the view is a dictionary which 
will be no more than kilobytes for deployments with thousands of dags, so 
storing that in memory is not an issue at all.
   
   My primary concern is not this structure, but loading all 1000+ dags in to 
memory.
   
   I _do_ want this feature, it is almost embarrassing that it doesn't exist in 
core Airflow!
   
   I'm happy to work with you to come up with a plan this (and to carry 
on/finish the PR if you don't have time) - for instance I think that we can do 
this by adding an extra field in to the serialized DAG representation, so the 
existing parsing process would keep this up-to-date, and then JSON query 
operators can be used to find dags with dependencies (and can be indexed), or 
could be stored in a "denormalized" (not quite right term, but close) into a 
column on the DAG table


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to