Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

DiscreETLy (tables) "uses" field can't reference tables of other DAGs #22

Description

@MikolajBalcerek

Describe the bug
Tables extension doesn't properly support tables relying ("uses") on other tables from different DAG.
This causes issues on "Tables managed by ..." view, where no graph will be shown for the 'dag2' (see Steps to reproduce).

To Reproduce
Steps to reproduce the behavior:

  1. In /config/tables.yaml declare two tables, belonging to two different DAGs, where one is using another e.g.:

- name: table1
  db: db
  dag_id: dag1
  task_id: create_table1

- name: rollup_of_table1
  db: db
  uses: db.table1
  dag_id: dag2
  task_id: rollup_of_table
```1

2. Run DiscreETLy, go to /etl, select the graph view for dag2
3. No graph is shown

**Expected behavior**
The graph should be shown.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions