kaxil commented on issue #7913: [AIRFLOW-7113] fix gantt render error
URL: https://github.com/apache/airflow/pull/7913#issuecomment-605390525
 
 
   > @KevinYang21, yes it's correct.
   > 
   > @kaxil. Tasks fail at early stage, e.g. during parsing, won't contain the 
start date. When handling failures, scheduler will store those failed tasks in 
task_fail table. Which crashes the gantt chart. To reproduce the error, you 
need to have a row w/o start_date in task_fail table. Entries w/o start_date in 
task_instance table will be fine as the query filters them out. I reverted the 
change on it.
   
   Shouldn't we change the Scheduler code to store the start_date and if there 
is any error store start_date = end_date during that time before we store in 
task_fail table?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to