From 30d77d52207c11bf903d9b2507093aa23b976dbf Mon Sep 17 00:00:00 2001 From: tnazarew Date: Fri, 16 Oct 2026 16:16:06 +0200 Subject: [PATCH] Skip schema validation of the dbt_model dataset facet openlineage-dbt emits dbt_model (DbtModelDatasetFacet) with _schemaURL .../integration/common/openlineage/schema/dbt-model-dataset-facet.json, but that file is not published at any OpenLineage tag or on main; the facet exists only in facets.py. Syntax validation therefore fails with "facet type dbt_model not recognized". Treat it like dbt_version and dbt_run until upstream publishes the schema. Co-Authored-By: Claude Opus 5.5 Signed-off-by: tnazarew --- scripts/validate_ol_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate_ol_events.py b/scripts/validate_ol_events.py index f8f3572d..1e589a33 100644 --- a/scripts/validate_ol_events.py +++ b/scripts/validate_ol_events.py @@ -28,7 +28,7 @@ def is_custom_facet(facet, schema_type): is_custom = any(facet.get('_schemaURL').__contains__(f'defs/{facet_type}Facet') for facet_type in ['Run', 'Job', 'Dataset', 'InputDataset', 'OutputDataset']) is_common = any(facet.get('_schemaURL').__contains__(f'schema/{facet_type}-facet.json') for facet_type in - ['dbt-version-run', 'dbt-run-run']) + ['dbt-version-run', 'dbt-run-run', 'dbt-model-dataset']) if is_custom or is_common: print(f"facet {schema_type} seems to be custom facet, validation skipped") return True