atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1335) Update attributeDef validation to be consistent with TypeSystem
Date Mon, 28 Nov 2016 18:04:58 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhan Neethiraj updated ATLAS-1335:
------------------------------------
    Attachment: ATLAS-1335.1.patch

> Update attributeDef validation to be consistent with TypeSystem
> ---------------------------------------------------------------
>
>                 Key: ATLAS-1335
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1335
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-1335.1.patch, ATLAS-1335.patch
>
>
> TypeSystem requires that multi-valued attributes (i.e. upper > 1) use attribute type
of either array or map - TypeSystem.constructAttributeInfo().
> Multi-valued attribute equivalent in AtlasStructType (i.e. attributes with Cardinality
LIST or SET) is handled differently - by adding array<> to the type specified for the
attribute. This should be updated to be consistent with the implementation in TypeSystem -
for backward compatibility.



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

Mime
View raw message