forked from D-Net/dnet-hadoop
[Person]fix issue in affiliation relation id construction for person (missing ::)
This commit is contained in:
parent
8c185a7b1a
commit
89fcf4086c
|
@ -297,7 +297,7 @@ public class ExtractPerson implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Relation getAffiliationRelation(Employment row) {
|
private static Relation getAffiliationRelation(Employment row) {
|
||||||
String source = PERSON_PREFIX + IdentifierFactory.md5(row.getOrcid());
|
String source = PERSON_PREFIX + "::" + IdentifierFactory.md5(row.getOrcid());
|
||||||
String target = ROR_PREFIX
|
String target = ROR_PREFIX
|
||||||
+ IdentifierFactory.md5(PidCleaner.normalizePidValue("ROR", row.getAffiliationId().getValue()));
|
+ IdentifierFactory.md5(PidCleaner.normalizePidValue("ROR", row.getAffiliationId().getValue()));
|
||||||
List<KeyValue> properties = new ArrayList<>();
|
List<KeyValue> properties = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in New Issue