Skip to content

Support schema-level meta data ingestion in the dbt connector #38832

Backlog

Description

@davspelt

Is your feature request related to a problem? Please describe.

Dbt has the option to provide schema-level metadata but the dbt connector only processes meta-data at the table level.

For a definition like this:

sources:
  - name: my_model
    database: dwh
    schema: my_model
    meta:
      owner: "Squad-Analytics"
      openmetadata:
        tier: "Tier.Tier1"       
        certification: "Gold"
        domain: "Sales"
    tables:
    - name: demo1
    - name: demo2

It will ingest the inherited metadata for tables demo1 and demo2 but no meta-data is added for the DatabaseSchema my_model in OpenMetadata. Teams that keep their metadata in dbt have to set the schema-level meta data by hand in the UI or with a separate API script. So the schema-level meta data is not versioned or reviewed with the model, and it can drift from the code.

Describe the solution you'd like

  • Ingest meta-data provided at the schema-level in the sources section as schema-level meta-data in OpenMetadata.
  • Schema-level meta data is found in the manifest.json file in a separate section, i.e. source_meta. Process the meta-data found in this section as schema-level meta-data, including Domain, Owner, Tier, Certification, Glossary and Custom Properties just like for tables.

Describe alternatives you've considered

  • Manually adding the schema-level meta data but it has the issues mentioned above.
  • A separate script that reads manifest.json and ingests the schema-level meta-data: this basically duplicates the dbt connector's functionality as the current logic for tables can largely be re-used for schemas.

Additional context

No response

Pre-submission checklist

  • I searched for duplicate feature requests.

Activity

  1. added
    enhancement
    on Nov 26, 2026
  2. Vamsi-klu commented on Nov 26, 2026

    @Vamsi-klu
    Contributor

    Thanks for the manifest example. I’m putting together a PR for this and would appreciate a check on the write policy.

    I’m planning to add an includeSchemaMetadata switch, off by default, so an upgrade doesn’t start writing metadata from existing manifests. When enabled, it would read source_meta from eligible sources and apply it only to a schema that already exists. Table-level meta would continue through the existing table ingestion path.

    The schema update would fill empty fields, preserve direct owners and domain assignments, add glossary terms, and update only the custom property keys explicitly listed. Owner updates would still require dbtUpdateOwners. If two sources disagree on a value for the same schema, I’ll report the conflict and leave that field alone. A second run with the same artifact should leave the schema version and certification expiry alone.

    Does that fit how you use dbt source metadata, especially for a schema that already has values set in OpenMetadata?

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

    enhancement

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions