[ https://issues.apache.org/jira/browse/ATLAS-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
qinglin,xia updated ATLAS-1779: ------------------------------- Attachment: (was: QQ截图20170511173640.png) > When creating entities with array attribute, multiple entities would refer to > the same array reference with the same name > --------------------------------------------------------------------------------------------------------------------------- > > Key: ATLAS-1779 > URL: https://issues.apache.org/jira/browse/ATLAS-1779 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 0.7-incubating > Reporter: qinglin,xia > Assignee: Xinzhi,Luo > Attachments: refer1.png, refer2.png, table1.png, table2.png > > > Steps to Reproduce: > 1. Create a hbase_table Type with a attribute's data type set to > array<hbase_column_family> > " hierarchicalMetaTypeName ":"org.apache.atlas.typesystem.types.ClassTy > pe", > " typeName ":"hbase_table", > " typeDescription ":null, > " attributeDefinitions ":[ > { > " name ":"columnFamilies", > " dataTypeName ":"array<hbase_column_family>", > " multiplicity ":"collection", > " isComposite ":true, > " isUnique ":false, > " isIndexable ":true, > }] > 2. create two entities of the hbase_table, naming "frontsurf" and > "table6666666" > 3. set the attribute columnFamilies of hbase_table to the same > hbase_column_family -> "column_family" > Expected Result: > the table1 and table2 entity would refer to different hbase_column_family > entity > Actual Result: > 1. The table1 and table2 entity refer to the same hbase_column_family entity > with the same GUID > 2. This issue would coz the fact that I cannot delete table1 because table2 > also has the hbase_column_family entity "column_familly" > PS: Screenshots as attached. -- This message was sent by Atlassian JIRA (v6.3.15#6346)