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 2019/04/19 18:13:14 UTC

[GitHub] [airflow] kkawamura edited a comment on issue #5136: [AIRFLOW-4359] Add a check for dag_run.start_date

kkawamura edited a comment on issue #5136: [AIRFLOW-4359] Add a check for dag_run.start_date
URL: https://github.com/apache/airflow/pull/5136#issuecomment-484975247
 
 
   If like this dag_run data is in airflow database, the toppage would be crush.
   
   ```
   mysql> select execution_date, start_date from dag_run where dag_id = '_masked__' order by execution_date desc limit 1;
   
   +----------------------------+------------+
   | execution_date             | start_date |
   +----------------------------+------------+
   | 2017-04-03 18:00:00.000000 | NULL       |
   +----------------------------+------------+
   1 row in set (0.05 sec)
   ```
   
   When I upgrade airflow to 1.10.2 from 1.8.1, the toppage doesn't work.
   It's caused the code in webserver doesn't check start_date.
   I think we need to add a check for start_date.
   
   

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


With regards,
Apache Git Services