Skip to content

mono repo -> multi repos throwing Error: Duplicate key ...in UniqueKeyDict<models> #4497

Open
@lafirm

Description

@lafirm

We initially used a monorepo setup but recently decided to switch to a multi-repo structure. To support this, we introduced the project variable in config.yaml as described in the SQLMesh multi-repo guide. However, adding the project variable to our existing repository is causing the following error:

Error: Duplicate key '"iceberg"."schema"."table_1"' found in UniqueKeyDict. Call dict.update(...) if this is intentional.

Is there an easy or recommended way to migrate from a monorepo to a multi-repo setup? Thank you!

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