[ https://issues.apache.org/jira/browse/ATLAS-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406045#comment-17406045 ]
ASF subversion and git services commented on ATLAS-4403: -------------------------------------------------------- Commit 097f50eae35e927411af3593fa401a335e61a0e3 in atlas's branch refs/heads/master from Sarath Subramanian [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=097f50e ] ATLAS-4403: Improve find entity by unique attributes logic - when multiple unique attributes exist for entity type > 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)