You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Pramod Biligiri (Jira)" <ji...@apache.org> on 2022/10/07 10:39:00 UTC
[jira] [Created] (HUDI-4994) DatahubSyncTool should set "removed" status of an entity to false when updating it
Pramod Biligiri created HUDI-4994:
-------------------------------------
Summary: DatahubSyncTool should set "removed" status of an entity to false when updating it
Key: HUDI-4994
URL: https://issues.apache.org/jira/browse/HUDI-4994
Project: Apache Hudi
Issue Type: Task
Components: meta-sync
Reporter: Pramod Biligiri
When DatahubSyncTool updates an entity in Datahub using an UPSERT request of their RestEmiiter client, it can be assumed that the entity is no longer considered deleted, and needs to be discoverable henceforth in the Datahub UI.
For that, it is necessary to explicitly set the "status" metadata aspect of the entity to "\{'removed':false}". This will handle the situation where the entity may have been (soft) deleted in the past. The addition of this "removed:false" for "status" aspect has no impact on newly created entities, or hard-deleted entities (of which no trace remains anyway).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)