pruoff commented on PR #37436:
URL: https://github.com/apache/airflow/pull/37436#issuecomment-2130811150

   @ashb thanks for the review. I share your concern about resource consumption 
issues when loading all dags from the DB.
   
   I tried to query the JSON via many ways. One would be:
   
`session.query(SerializedDagModel).filter(SerializedDagModel.__table__.columns.data['dag_id'].astext
 == dag_id)`
   yet I always end up in `NotImplementedError: Operator 'getitem' is not 
supported on this expression`.
   
   Can somebody support me here with a minimal working code snippet? In the 
repo, I cannot find any comparable code that queries the serialized dags in the 
DB.


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

Reply via email to