[
https://issues.apache.org/jira/browse/ATLAS-4181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17296361#comment-17296361
]
ASF subversion and git services commented on ATLAS-4181:
--------------------------------------------------------
Commit 46458a6c088313beeb11f769541ef3f0cac9910e in atlas's branch
refs/heads/branch-2.0 from Radhika Kundam
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=46458a6 ]
ATLAS-4181: Provide option to add mandatory attribute to existing entity
definition
Signed-off-by: Madhan Neethiraj <[email protected]>
(cherry picked from commit d653cea3c26b025ad7d6c37a2df41fff745fd952)
> Provide option to add mandatory attribute to existing entity definition
> -----------------------------------------------------------------------
>
> Key: ATLAS-4181
> URL: https://issues.apache.org/jira/browse/ATLAS-4181
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Affects Versions: 2.1.0
> Reporter: Radhika Kundam
> Assignee: Radhika Kundam
> Priority: Major
> Fix For: 3.0.0, 2.2.0
>
> Attachments: Design_Diagram_For_Add_Mandatory_Attribute.png
>
>
> Currently, Atlas allows to add only optional attributes to existing entity
> type and it doesn’t allow to add any mandatory attribute.
> Atlas should allow users to add mandatory attributes to existing entity
> types. To provide backward compatibility without breaking any contract
> between updated entity definition and existing entities, once entity def gets
> updated with mandatory attribute it should update all entities of same type
> and all subtypes with mandatory attribute.
> This feature should allow only if new mandatory attribute is primitive type
> and has non-empty default value.
> Design diagram attached for reference.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)