I’m following this speed run tutorials as provided here:
https://learn.palantir.com/speedrun-your-e2e-aip-workflow/1962328
and I’m not able to create the relationship with the Entity Object Type in Search Around button.
I’m seeing the following error:
Failed to execute Search Around – Object Set: Entity Types Not Initialized
Error ID: 41efc4c4-8f9a-4716-b19f-f4f7563d3077
Entity Type Rids: [ri.ontology.main.relation.f6ff7a6d-2d70-41e5-a0a9-12316e5c51ff]
Object Type Ids:
Relation Ids: [oh5g20eb.chan-chunk-channer-entity]
I checked the Entity & Chunk Object types and both are indexed as well.
Also I created the link type between Entity & Chunk and In the live pipeline of [Chan] Chunks [Channer] Entities link types I see this error:
Duplicate Primary Keys
Found duplicate values in primary key columns. Total: 1282 - Distinct: 1281.
module version: 2.184.0]
ServiceException: INVALID_ARGUMENT (Funnel:DuplicatePrimaryKeys): {pkCount=1282, distinctPkCount=1281}
com.palantir.logsafe.exceptions.SafeRuntimeException: Job failed: {productVersion=2.184.0, jobRid=ri.foundry.main.job.28a41d4b-72d7-48f7-80d1-ffc16cf4771b, appName=java.a79d02a7-84a6-4c5f-a76f-c526649b998f, kubernetesNamespace=compute-spark-7}
Caused by: com.palantir.conjure.java.api.errors.ServiceException: ServiceException: CUSTOM_CLIENT (TransformsJava:UserTransformError): {computeFunction=com.palantir.funnel.transforms.datasource.DatasourceChangelogTransform.Wrapper}
Caused by: java.lang.reflect.InvocationTargetException
Caused by: com.palantir.conjure.java.api.errors.ServiceException: ServiceException: INVALID_ARGUMENT (Funnel:DuplicatePrimaryKeys): {pkCount=1282, distinctPkCount=1281}
I’m unable to debug or fix this issue as I’m not understanding where the duplicate values are present since I used the data source provided in the tutorials site. How to fix this issue and how to remove the duplicated primary keys?
Also in the Ontology manager where we create the link type, the UI seems to be changed/updated but in the tutorials it is showing a different UI: https://learn.palantir.com/speedrun-your-e2e-aip-workflow/1962320