Skip to content

[BUG]Airflow Dag generation is not working as expected. #566

@sivankumar86

Description

@sivankumar86

Describe the bug
I have many yml file and each is corresponding dag. it seems, dag generator has memory leaks. it uses , other yml task name.

To Reproduce

Upload attached file into folder
then run below command

dbt-coves generate airflow-dags --yml-path examples --dags-path .

it would create 2 dags and both would contain all the tasks although, tasks name are not same.

  1. dag 1 yml has task_1 and task_2
  2. dag 2 has task _3

content of dag_2.

dbt_fiv_job_ym.yml
idapcore_example_dag.yml

def idapcore_example_dag():
task_3 = EcsRunTaskOperator(task_id="task_3", aws_conn_id="aws_default")
[task_1] >> task_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions