You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Radley (JIRA)" <ji...@apache.org> on 2017/04/20 09:33:04 UTC

[jira] [Created] (ATLAS-1740) Amend types to be more intuitive when creating multiple cardinality attributes

David Radley created ATLAS-1740:
-----------------------------------

             Summary: Amend types to be more intuitive when creating multiple cardinality attributes 
                 Key: ATLAS-1740
                 URL: https://issues.apache.org/jira/browse/ATLAS-1740
             Project: Atlas
          Issue Type: Bug
            Reporter: David Radley


When specifying a multiple carnality attribute - for example hive-columns , Atlas has 
                    "typeName": "array<hive_column>",
                    "cardinality": "SINGLE",

This is confusing - I read this as a single array. 
I would expect MULTIPLE cardinality to be used. A more intuitive way would be to use:
                    "typeName": "hive_column",
                    "cardinality": "MULTIPLE",

How we migrate the existing API should be considered here. 

I suggest clear design around when to use arrays and cardinality and what the difference - if any - is. 



 
 





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)