[
https://issues.apache.org/jira/browse/ATLAS-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16995162#comment-16995162
]
Madhan Neethiraj commented on ATLAS-2215:
-----------------------------------------
[~logan.rickert] - an attribute named {{schema}} is _injected_ into entity-type
{{DataSet}}, by following relationship-type {{avro_schema_associatedEntities}}
in 1000-Hadoop/1065-avro_model.json.
The attribute {{DataSetTestC.schema}} in is overwritten/shadowed by this
relationship attribute, hence the failure. Ideally, creation of DataSetTestC
should have failed due to this duplicate attribute name.
{noformat}
{
"name": "avro_schema_associatedEntities",
"serviceType": "avro",
"typeVersion": "1.0",
"relationshipCategory": "ASSOCIATION",
"relationshipLabel": " __avro_schema.associatedEntities",
"endDef1": {
"type": "avro_schema",
"name": "associatedEntities",
"isContainer": false,
"cardinality": "SET",
"isLegacyAttribute": true
},
"endDef2": {
"type": "DataSet",
"name": "schema",
"isContainer": false,
"cardinality": "SET"
}
},
{noformat}
> UI: Editing array of Structs behave as array of entity references
> -----------------------------------------------------------------
>
> Key: ATLAS-2215
> URL: https://issues.apache.org/jira/browse/ATLAS-2215
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 1.0.0
> Reporter: Pierre Padovani
> Priority: Major
>
> Reproduction steps:
> * create a struct with a set of attributes
> * create an entity type with an attribute defined as an array of the
> previously defined struct
> * Attempt to create an instance of the entity and set the struct value. It
> will behave as if the type is an array of entities and not a free form field.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)