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
Ingestion bulk PUT wipes descriptions, display names, certification and table constraints the source doesn't send #34662
Since #28155 moved override handling to the server, ingestion writes every entity through PUT /<entity>/bulk. The client-side RESTRICT_UPDATE_LIST that 1.13 used to stop a source with no value from deleting a stored one no longer applies, and the server doesn't fully replace it:
description / displayName: with overrideMetadata=true, updateDescription() and updateDisplayName() skip their bot guard entirely, so an empty incoming value overwrites a stored one. Column descriptions already have a never-blank check (fix(backend): column description updation with overrideMetadata=true #31543); entity-level fields don't.
tableConstraints: updateTableConstraints() has no bot guard at all. Any bot PUT that sends no constraints removes the stored ones — with override on or off (override just disables the sourceHash fast path, so it hits every table at once). Sources like Trino never report constraints, so user-curated constraints are lost.
To Reproduce
Create a table via the ingestion bot with a description, displayName and a PRIMARY_KEY constraint.
Bulk-PUT the same table as the ingestion bot with a changed sourceHash, overrideMetadata=true, and no description / displayName / constraints.
GET the table: description, displayName and tableConstraints are gone.
Expected behavior
Override Metadata replaces a stored value only when the source supplies one. A bot PUT that sends nothing for these fields leaves the stored values untouched; constraints on columns the source dropped are still cleaned up.
Activity
[2.0] Fixes #34662: stop bot bulk PUTs blanking fields the source doe…
Fixes open-metadata#34662: stop bot bulk PUTs blanking fields the sou…
fix(test): eliminate pagination loader race in ContextCenterArticles (#…
[2.0] Fixes #34827: restore metadata 2.0.x ingestion removed on upgra…
Fixes open-metadata#34827: restore metadata 2.0.x ingestion removed o…
test: a bot never deletes user-curated metadata on any ingestion writ…