[
https://issues.apache.org/jira/browse/ATLAS-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789247#comment-16789247
]
ASF subversion and git services commented on ATLAS-3065:
--------------------------------------------------------
Commit ef0708e79848dd37523c2607a1e1e908cb350b87 in atlas's branch
refs/heads/branch-1.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=ef0708e ]
ATLAS-3065: include removed legacy attributes in entity.attributes for backward
compatibility (in addition to entity.relationshipAttributes) - #3
(cherry picked from commit 10f34ed8adc41929dcdcbaf8ac5fc23e712ae46d)
> Enable relationship typedef update to remove legacy attributes
> ---------------------------------------------------------------
>
> Key: ATLAS-3065
> URL: https://issues.apache.org/jira/browse/ATLAS-3065
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 1.2.0, 2.0.0
>
> Attachments: ATLAS-3065.patch
>
>
> Relationship types support relationship-ends that point to a first-class
> attribute in the entity-type of the end i.e. legacy attribute. For such
> relationship-ends, the associated entity will have the attribute included in
> both 'attributes' and 'relationshipAttributes'.
> For relationships having legacy attributes at both ends, 2 edges will be
> created between the entities in this relationship. This was necessary earlier
> releases (prior to 1.0) due to use of isOwnedRef/inverseRef constraints,
> hence relationship feature was not available then. With introduction of
> relationships it shouldn't be necessary to use legacy attributes; the same
> can be modeled using COMPOSITION relationship.
> To move away from earlier model (of using isOwnedRef/inverseRef), to use
> COMPOSITION relationship, updates to relationshipDef and entitiyDefs for both
> ends will be necessary. This is to track introducing a type-patch named
> REMOVE_LEGACY_ATTRIBUTES, along lines of ADD_ATTRIBUTE, UPDATE_ATTRIBUTE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)