moiseenkov opened a new pull request, #41149:
URL: https://github.com/apache/airflow/pull/41149

   This PR fixes a bug in counting queries during a DAG file parsing (the 
feature was implemented in #40323).
   
   A context manager `count_queries` was implemented previously, and it is 
responsible for counting queries within its scope. The reason why it was 
missing some queries and misreporting statistics is that its scope wasn't 
covering all steps of parsing the DAG file. This PR moves a `count_queries` 
invocation higher to the level of `DagFileProcessor.process_file()` method, 
which ensures that all the queries are counted.
   
   Relates to: #40916


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