XDM - How to retreive Golden History after consolidaiton/merge/split
S
Stéphane Bongiovanni
started a topic
almost 2 years ago
In the xDM, the end user would like to be able with SQL a golden history after consolidation/merge/split.
For exemple, we have a golden uuid at time T.
But after some integration or merge or split, the golden does'nt exist in GD. The end user would like to retreive from the golden uid the new golden uuid even if there are many consolidation split or merge.
Best Answer
M
Matthieu DE PILLOT DE COLIGNY
said
over 1 year ago
Hello
In case one of the goldenID is dropped (during a merge ), there isn't many ways to find its data. The best way to do so is to get it from the MH_ table, but that requires you to have master historization enable. To get every goldenID that was liked or merge into a specific goldenID, you can use the following query
select distinct MH.ID
from MH
join MD
on MD.SourceID = MH.SourceID and MD.PubID = MH.MH.PubID
where MD.ID = <GoldenID>
Then you can query your GH_ table based on these IDs to get your history
1 Comment
M
Matthieu DE PILLOT DE COLIGNY
said
over 1 year ago
Answer
Hello
In case one of the goldenID is dropped (during a merge ), there isn't many ways to find its data. The best way to do so is to get it from the MH_ table, but that requires you to have master historization enable. To get every goldenID that was liked or merge into a specific goldenID, you can use the following query
select distinct MH.ID
from MH
join MD
on MD.SourceID = MH.SourceID and MD.PubID = MH.MH.PubID
where MD.ID = <GoldenID>
Then you can query your GH_ table based on these IDs to get your history
Stéphane Bongiovanni
In the xDM, the end user would like to be able with SQL a golden history after consolidation/merge/split.
For exemple, we have a golden uuid at time T.
But after some integration or merge or split, the golden does'nt exist in GD. The end user would like to retreive from the golden uid the new golden uuid even if there are many consolidation split or merge.
Hello
In case one of the goldenID is dropped (during a merge ), there isn't many ways to find its data.
The best way to do so is to get it from the MH_ table, but that requires you to have master historization enable.
To get every goldenID that was liked or merge into a specific goldenID, you can use the following query
Then you can query your GH_ table based on these IDs to get your history
Matthieu DE PILLOT DE COLIGNY
Hello
In case one of the goldenID is dropped (during a merge ), there isn't many ways to find its data.
The best way to do so is to get it from the MH_ table, but that requires you to have master historization enable.
To get every goldenID that was liked or merge into a specific goldenID, you can use the following query
Then you can query your GH_ table based on these IDs to get your history
-
Recover Deleted(soft Delete) Record and Configure in Application
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Unstructured and Semi Structured Data in Semarchy?
-
Read CSV files from AWS S3
-
Find SQL Statements Generated for Match Rules
-
Is it possible to disable specific steps of an Integration Job?
-
Reset the Override on Many Records Through the Interface or By Script
-
PL/SQL Procedure With B_CREDATE and B_UPDDATE Not Mapped or Loaded, Columns Will Be Null
-
Unable to Load Publisher Data Using Continuous Load
-
LoadDataRecord contains non persitable expressions when trying to publish Data using the Rest API
See all 61 topics