-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73549/
-----------------------------------------------------------

(Updated Aug. 26, 2021, 1:32 p.m.)


Review request for atlas, Ashutosh Mestry, Disha Talreja, Jayendra Parab, 
Madhan Neethiraj, Nikhil Bonte, Nixon Rodrigues, Radhika Kundam, and Sidharth 
Mishra.


Changes
-------

addressed review comments.


Bugs: ATLAS-4403
    https://issues.apache.org/jira/browse/ATLAS-4403


Repository: atlas


Description
-------

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.


Diffs (updated)
-----

  
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasGraphUtilsV2.java
 e73f084b8 


Diff: https://reviews.apache.org/r/73549/diff/4/

Changes: https://reviews.apache.org/r/73549/diff/3-4/


Testing
-------

Pre-commit: 
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/822/consoleFull
 (SUCCESS)


Thanks,

Sarath Subramanian

Reply via email to