[ https://issues.apache.org/jira/browse/ATLAS-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406046#comment-17406046 ]
ASF subversion and git services commented on ATLAS-4403: -------------------------------------------------------- Commit 1a2ca741115c7957c994e562f6a0fb2bc75da8dd in atlas's branch refs/heads/branch-2.0 from Sarath Subramanian [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=1a2ca74 ] ATLAS-4403: Improve find entity by unique attributes logic - when multiple unique attributes exist for entity type (cherry picked from commit 097f50eae35e927411af3593fa401a335e61a0e3) > Improve find entity by unique attributes logic - when multiple unique > attributes exist for entity type > ------------------------------------------------------------------------------------------------------ > > Key: ATLAS-4403 > URL: https://issues.apache.org/jira/browse/ATLAS-4403 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 2.2.0 > Reporter: Sarath Subramanian > Assignee: Sarath Subramanian > Priority: Major > Fix For: 2.3.0 > > > When a entity type has multiple unique attributes defined: > * unique_attr1 > * unique_attr2 > During creation of entity, we check if entity with unique attributes is > already present and return/update them. The current logic check if entity is > present - one unique attribute at a time, if present will return immediately. > We should improve the lookup logic to look for entity with all unique > attributes specified and not just return on the first unique attribute value. -- This message was sent by Atlassian Jira (v8.3.4#803005)