You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/09/23 21:49:06 UTC

[airflow] branch main updated: Update best practices around deleting a task (#18483)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 381a839  Update best practices around deleting a task (#18483)
381a839 is described below

commit 381a8397b695adb0aff52020f0fa4bce28b99788
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Sep 23 22:48:39 2021 +0100

    Update best practices around deleting a task (#18483)
    
    "Never delete a task from a DAG." is just a wrong recommendation. I have updated the guide.
---
 docs/apache-airflow/best-practices.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow/best-practices.rst b/docs/apache-airflow/best-practices.rst
index 8620722..514b77b 100644
--- a/docs/apache-airflow/best-practices.rst
+++ b/docs/apache-airflow/best-practices.rst
@@ -74,8 +74,8 @@ result -
 Deleting a task
 ----------------
 
-Never delete a task from a DAG. In case of deletion, the historical information of the task disappears from the Airflow UI.
-It is advised to create a new DAG in case the tasks need to be deleted.
+Be careful when deleting a task from a DAG. You would not be able to see the Task in Graph View, Tree View, etc making
+it difficult to check the logs of that Task from the Webserver. If that is not desired, please create a new DAG.
 
 
 Communication