You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "zhangqiang2 (JIRA)" <ji...@apache.org> on 2016/10/10 01:06:21 UTC

[jira] [Commented] (ATLAS-1016) Support for composite unique attributes for a type.

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

zhangqiang2 commented on ATLAS-1016:
------------------------------------

as we know atlas support struct  so  developer can create entity with  struct or extend entity to meet you need 

> Support for composite unique attributes for a type.
> ---------------------------------------------------
>
>                 Key: ATLAS-1016
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1016
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.8-incubating
>            Reporter: Satish Duggana
>             Fix For: 0.8-incubating
>
>
> Currently atlas types support attributes containing unique attributes. Enhance this to support composite unique attributes. 
> For example,
> DeviceInfo has attributes like name, model, version and timestamp. Any of these attributes can be configured unique constraint. There should be a way to set composite unique constraint on both model and version fields so that it should not allow storing entities having same set of values for both model and version.



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