atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Radley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1740) Amend types to be more intuitive when creating multiple cardinality attributes
Date Thu, 20 Apr 2017 09:33:04 GMT
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)

Mime
View raw message