XD-DENG commented on issue #3688: [AIRFLOW-2843] ExternalTaskSensor-check if 
external task exists
URL: https://github.com/apache/airflow/pull/3688#issuecomment-455068256
 
 
   Thanks @feng-tao . 
   
   Fully agree with your points. 
   
   If we're checking if a DAG exists (Since 
https://github.com/apache/airflow/commit/2a8c91b392fca53fdc6f7c5008577a7ed4007de7#diff-108fa7b4349eeb1a31c07c64a952c972,
 `ExternalTaskSensor` is able to wait for a whole DAG instead of a single 
task), we can check `dag` table in DB. But if we're waiting for a task, the 
nice points you raised should come into our consideration.
   
   I'm thinking that we re-scan that DAG and check whether the 
`external_task_id` is in the latest task list of that DAG. Does this sound 
sensible to you?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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