[ https://issues.apache.org/jira/browse/ATLAS-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mayank Jain updated ATLAS-3359: ------------------------------- Attachment: ATLAS-3359-Relationships-Unique-attribute-in-a-relat-3.patch > Relationships : Unique attribute in a relationship is not honored > ----------------------------------------------------------------- > > Key: ATLAS-3359 > URL: https://issues.apache.org/jira/browse/ATLAS-3359 > Project: Atlas > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: Nixon Rodrigues > Assignee: Radhika Kundam > Priority: Major > Fix For: 2.2.0 > > Attachments: > ATLAS-3359-Relationships-Unique-attribute-in-a-relat-3.patch > > > 1.Created a relationship typedef between type1 & type2 with attribute "attr1" > which is unique (set "IsUnique" to true). > 2. Created entity1 (type1) and entity2(type2) and created a relationship > instance between them with "attr1" value , say "value1". > 3. Created entity3 (type1) and entity4(type2) and created a relationship > instance between them with "attr1" value with the same value "value1". > Expected the relationship creation between entity3 and entity4 would fail > because a relationship with "attr1 " with "value1" is already created between > entity1 and entity2. But request passed and the relationship is created > successfully. -- This message was sent by Atlassian Jira (v8.3.4#803005)