Apoorv Naik created ATLAS-1780:
----------------------------------
Summary: Type deletion blocks ability to redefine same type with
different attribute
Key: ATLAS-1780
URL: https://issues.apache.org/jira/browse/ATLAS-1780
Project: Atlas
Issue Type: Bug
Reporter: Apoorv Naik
Assignee: Apoorv Naik
This change supports the use-case where the user creates a type and deletes it
sometime later, now the redefinition of the type is restricted to use the same
data type for the attributes used during the initial creation.
Solution: Rename the propertyKey corresponding to that attribute using the
titan management API by suffing _deleted_xxx where xxx is an increasing integer
sequence starting from 0. The reason for increment of xxx is that the type
create, delete and re-create can be done multiple times without any conflicting
key in Titan.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)