potiuk commented on issue #6451: [AIRFLOW-5796] Fix case when slot_pool 
relation is missing
URL: https://github.com/apache/airflow/pull/6451#issuecomment-546857283
 
 
   I guess this is a different error then ?
   
   BTW. I realised now - Isn't that really a bad practice to access the DB in 
the init() of the operator (or in the DAG). That makes extra DB 
connection/query to be created/used during parsing of the DAG and it's rather 
disturbing (so maybe we should actually correct the SubDagOperator to not make 
the pool query in the init() ? There were some discussions recently about a 
number of DB connections opened needlessly and that might be one of the 
culprits actually.

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


With regards,
Apache Git Services

Reply via email to