[ 
https://issues.apache.org/jira/browse/ATLAS-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335453#comment-15335453
 ] 

Hemanth Yamijala commented on ATLAS-911:
----------------------------------------

Changes look ok to me. +1. Please commit if tests are fixed. 

> Get entity by unique attribute doesn't enforce type
> ---------------------------------------------------
>
>                 Key: ATLAS-911
>                 URL: https://issues.apache.org/jira/browse/ATLAS-911
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>            Priority: Critical
>             Fix For: 0.7-incubating
>
>         Attachments: ATLAS-911.patch
>
>
> Currently, get entity by unique attribute just filters on the attribute 
> property. Since the attribute name contains the typename as well, type filter 
> was not added. But if multiple types have the same super type, and the super 
> type has the unique attribute, the attribute name will be same for multiple 
> types. With this, the type returned will not be same as the type requested.
> We should add filter on the type as well



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to