> On July 20, 2015, 11 a.m., Suma Shivaprasad wrote: > > repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java, > > line 340 > > <https://reviews.apache.org/r/36615/diff/2/?file=1016667#file1016667line340> > > > > didnt get where we are applying the unique constraint on mixed indexes?
We can't use unique in mixed index as we use the same index name across all types - Shwetha ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36615/#review92250 ----------------------------------------------------------- On July 20, 2015, 10:38 a.m., Shwetha GS wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36615/ > ----------------------------------------------------------- > > (Updated July 20, 2015, 10:38 a.m.) > > > Review request for atlas. > > > Bugs: ATLAS-79 > https://issues.apache.org/jira/browse/ATLAS-79 > > > Repository: atlas > > > Description > ------- > > Atlas supports attributes where they are marked as unique. But this > constraint is not enforced and atlas allows 2 entities with same value for > this unique attribute > > > Diffs > ----- > > repository/src/main/java/org/apache/atlas/repository/Constants.java fe43ad0 > > repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java > c43c64f > > webapp/src/test/java/org/apache/atlas/web/resources/EntityJerseyResourceIT.java > 9e28383 > > Diff: https://reviews.apache.org/r/36615/diff/ > > > Testing > ------- > > UTs > > > Thanks, > > Shwetha GS > >