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 2020/11/19 20:58:28 UTC

[airflow] branch v1-10-test updated (c3aadf5 -> 4301068)

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

kaxilnaik pushed a change to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git.


    from c3aadf5  Manage Flask AppBuilder Tables using Alembic Migrations (#12352)
     new a2d3d75  Rename task with duplicate task_id
     new 4301068  Fix displaying of add serialized_dag table migration

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 airflow/example_dags/example_complex.py                              | 2 +-
 airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


[airflow] 01/02: Rename task with duplicate task_id

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a2d3d7510ed0f3f5b4cdcf74c7ff3cfc30b0bcc7
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Nov 19 20:55:48 2020 +0000

    Rename task with duplicate task_id
---
 airflow/example_dags/example_complex.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/example_dags/example_complex.py b/airflow/example_dags/example_complex.py
index ec39eec..a2f71f2 100644
--- a/airflow/example_dags/example_complex.py
+++ b/airflow/example_dags/example_complex.py
@@ -78,7 +78,7 @@ with models.DAG("example_complex", default_args=default_args, schedule_interval=
     )
 
     create_tag_template_field_result2 = BashOperator(
-        task_id="create_tag_template_field_result", bash_command="echo create_tag_template_field_result"
+        task_id="create_tag_template_field_result2", bash_command="echo create_tag_template_field_result"
     )
 
     # Delete


[airflow] 02/02: Fix displaying of add serialized_dag table migration

Posted by ka...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 43010688c102a1fe008196e2b34e17ce31d34eba
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Nov 19 20:56:08 2020 +0000

    Fix displaying of add serialized_dag table migration
    
    Before:
    
    ```
    INFO  [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table
    Revision ID: d38e04c12aa2
    Revises: 6e96a59344a4
    Create Date: 2019-08-01 14:39:35.616417
    INFO  [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG
    ```
    
    After:
    
    ```
    INFO  [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 6e96a59344a4, Make TaskInstance.pool not nullable
    INFO  [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table
    INFO  [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG
    ```
---
 airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py b/airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py
index 52b5f7a..fb3eca4 100644
--- a/airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py
+++ b/airflow/migrations/versions/d38e04c12aa2_add_serialized_dag_table.py
@@ -17,9 +17,11 @@
 # under the License.
 
 """add serialized_dag table
+
 Revision ID: d38e04c12aa2
 Revises: 6e96a59344a4
 Create Date: 2019-08-01 14:39:35.616417
+
 """
 from alembic import op
 from sqlalchemy.dialects import mysql