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 2020/05/01 08:29:57 UTC

[GitHub] [airflow] XD-DENG opened a new issue #8662: DummyOperator start/end time shown incorrectly

XD-DENG opened a new issue #8662:
URL: https://github.com/apache/airflow/issues/8662


   **Apache Airflow version**:
   1.10.9, 1.10.10
   
   **What happened**:
   
   In RBAC UI, when we hover over task instances of `DummyOperator`, the `started` and `ended` times are always showing the CURRENT time, instead of the the actual task started and ended time (like other operators/sensors). 
   
   ![RBAC_UI_DummyOperator](https://user-images.githubusercontent.com/11539188/80792986-19a7bd00-8b96-11ea-99ff-ea33fb0dc169.png)
   
   In non-RBAC UI, the `started` and `ended` times are now shown for `DummyOperator` tasks
   
   ![Screenshot 2020-05-01 at 9 15 48 AM 2](https://user-images.githubusercontent.com/11539188/80793105-7905cd00-8b96-11ea-8352-3f8b79aa7701.png)
   
   
   This is due to that task instances of DummyOperators are always marked as `SUCCESS` then immediately being skipped. Other entries like `start_date`, `end_date`, and `duration` are not marked for it in the database (in `task_instance` table in DB, `start_date`, `end_date`, and `duration` are all `NULL` for `DummyOperator` tasks)
   
   **What you expected to happen**:
   
   `start_date`, `end_date`, and `duration` should be marked for `DummyOperator` tasks as well (duration to be zero)
   
   **How to reproduce it**:
   
   See screenshots above
   
   


----------------------------------------------------------------
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



[GitHub] [airflow] XD-DENG commented on issue #8662: DummyOperator start/end time shown incorrectly

Posted by GitBox <gi...@apache.org>.
XD-DENG commented on issue #8662:
URL: https://github.com/apache/airflow/issues/8662#issuecomment-623001106


   Fixed by https://github.com/apache/airflow/pull/8663 + https://github.com/apache/airflow/pull/8667


----------------------------------------------------------------
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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #8662: DummyOperator start/end time shown incorrectly

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8662:
URL: https://github.com/apache/airflow/issues/8662#issuecomment-622299530


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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



[GitHub] [airflow] XD-DENG commented on issue #8662: DummyOperator start/end time shown incorrectly

Posted by GitBox <gi...@apache.org>.
XD-DENG commented on issue #8662:
URL: https://github.com/apache/airflow/issues/8662#issuecomment-622299625


   I'm preparing a PR for this.


----------------------------------------------------------------
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