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)

Reply via email to