Skip to content

datacontract dbt sync should not be case-sensitive for schema names #1254

@jschoedl

Description

@jschoedl

For schemas with uppercase names and dbt models with lowercase names, datacontract dbt sync does not work and does not log a helpful error:

Resolved contract (...)/contract.odcs.yaml
Wrote 1 YAML file(s) under (...)/models/datacontract_cli.
No test results parsed.

We should:

  • match case-insensitively (special case: both orders and ORDERS exist)
  • log a warning if we can't match ODCS schemas and dbt models

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions