IBM wpc surrogate key will not be replaced by actual id
Ingest the following manifest for wpc with surrogate keys:wpc.json
The ingestion itself is successfully
Key | Value |
---|---|
record_ids | ['opendes:work-product-component--WellLog:382f3dbd3b2f435f8195622eef9732ce', 'opendes:dataset--File.Generic:2986b06750794aafb854f53d79bdf9d9', 'opendes:work-product--WorkProduct:298463fe56cc4c0a8c7b47124e00befd'] |
However, when search for the ingested records, one find out that the original surrogate key is saved "as is" rather than replaced by actual ids generated by the system. E.g., here is the record of the WP:
{
"results": [
{
"data": {
"Description": "TEST_NN_QA_1_wp",
"Name": "TEST_NN_QA_1_wp",
"Components": [
"surrogate-key:wpc-1:"
]
},
"kind": "opendes:wks:work-product--WorkProduct:1.0.0",
"source": "wks",
"acl": {
"viewers": [
"data.default.viewers@opendes.ibm.com"
],
"owners": [
"data.default.owners@opendes.ibm.com"
]
},
"type": "work-product--WorkProduct",
"version": 1633021107588724,
"createTime": "2021-09-30T16:58:27.698Z",
"authority": "opendes",
"namespace": "opendes:wks",
"legal": {
"legaltags": [
"opendes-demo-legaltag"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "airflow-user@osdu.opengroup.org",
"id": "opendes:work-product--WorkProduct:298463fe56cc4c0a8c7b47124e00befd"
}
],
"totalCount": 1
}