You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/21 20:11:27 UTC

[GitHub] [airflow] kaxil edited a comment on issue #19917: Task-level end_date stops entire DAG

kaxil edited a comment on issue #19917:
URL: https://github.com/apache/airflow/issues/19917#issuecomment-999055989


   >One thing that we should consider is also the case of backfilling.
   
   Oof yeah, backfill is a use-case, true.
   
   
   
   > I think the logic should be:
   > 
   > For start date.
   > 
   > * Treat null task start date as dag start date
   > * dag start date is min of all start dates
   > 
   > For end date
   > 
   > * treat null task end date as no end date
   > * when calculating dag end date (when it isn't given explicitly at the dag level), if any tasks have null end date then the dag has no end date.
   
   Generally, agree, I think we should also add logs with warnings for those case -- so "unintentional" cases can be mitigated


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org