alexbegg edited a comment on issue #10434:
URL: https://github.com/apache/airflow/issues/10434#issuecomment-681425221


   I think I am able to replicate it now. It is only happening if the 
`execution_date` time is NOT `00:00:00` (in my first screenshot of my last 
comment, it was `07:00:00`, and in my description it was `05:00:00`) because 
when the "graph" view fails to show the DAG run it seems to be internally 
processed as if the time is `00:00:00` (maybe stripping off or failing to 
understand the time), which is why I could not reproduce the problem with a DAG 
run that _actually_ is for `00:00:00`.
   
   If I view the "log" table of the metadata db it clearly shows the problem (I 
added the "URL" to the end for reference)
   
   URL Route with `+`: 
`/graph?dag_id=utility_sf_sync_deleted_recs&execution_date=2020-08-11T07:00:00+00:00`
     id   |             dttm              |            dag_id            | 
task_id | event |     execution_date     | owner |                              
               extra                                             
   
-------|-------------------------------|------------------------------|---------|-------|------------------------|-------|-----------------------------------------------------------------------------------------------
    14073 | 2020-08-27 04:10:57.656712+00 | utility_sf_sync_deleted_recs |      
   | graph | 2020-08-11 00:00:00+00 _(❌  wrong!)_ | admin | [('dag_id', 
'utility_sf_sync_deleted_recs'), ('execution_date', '2020-08-11T07:00:00 
00:00')]
   
   URL Route with `+` encoded to `%2B`: 
`/graph?dag_id=utility_sf_sync_deleted_recs&execution_date=2020-08-11T07:00:00%2B00:00`
     id   |             dttm              |            dag_id            | 
task_id | event |     execution_date     | owner |                              
               extra                                             
   
-------|-------------------------------|------------------------------|---------|-------|------------------------|-------|-----------------------------------------------------------------------------------------------
    14072 | 2020-08-27 04:10:10.846183+00 | utility_sf_sync_deleted_recs |      
   | graph | 2020-08-11 07:00:00+00 _(✅  correct!)_ | admin | [('dag_id', 
'utility_sf_sync_deleted_recs'), ('execution_date', 
'2020-08-11T07:00:00+00:00')]
   
   Also notice the `extra` column, the top wrong one has a space instead of a 
`+` in the last item, but the correct one has the `+` in the value.


----------------------------------------------------------------
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:
[email protected]


Reply via email to