You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2016/11/26 04:13:58 UTC

[jira] [Created] (ATLAS-1335) Update attributeDef validation to be consistent with TypeSystem

Madhan Neethiraj created ATLAS-1335:
---------------------------------------

             Summary: 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


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)