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 06:42:59 UTC
[jira] [Updated] (ATLAS-1335) Update attributeDef validation to be
consistent with TypeSystem
[ 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.patch
Patch is available at review board: https://reviews.apache.org/r/54092/
> 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.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)