You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support schema-level meta data ingestion in the dbt connector #38832
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.
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?
Activity
Vamsi-klu commentedon Nov 26, 2026
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
includeSchemaMetadataswitch, off by default, so an upgrade doesn’t start writing metadata from existing manifests. When enabled, it would readsource_metafrom eligible sources and apply it only to a schema that already exists. Table-levelmetawould 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?