[ https://issues.apache.org/jira/browse/ATLAS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Mestry reassigned ATLAS-4069: -------------------------------------- Assignee: Ashutosh Mestry > Export/Importing a recreated deleted entity has the relationshipStatus set to > ACTIVE instead of DELETED for deleted entity > -------------------------------------------------------------------------------------------------------------------------- > > Key: ATLAS-4069 > URL: https://issues.apache.org/jira/browse/ATLAS-4069 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 2.1.0 > Reporter: Umesh Padashetty > Assignee: Ashutosh Mestry > Priority: Major > Attachments: Screenshot 2020-12-09 at 5.51.10 PM.png > > > Run the below queries: > # create database IF NOT EXISTS database34_${var:rand_str}; > # create table IF NOT EXISTS > database34_${var:rand_str}.table_${var:rand_str}_34(id int,name string,dob > date); > # drop table database34_${var:rand_str}.table_${var:rand_str}_34; > # drop database database34_${var:rand_str}; > # create database IF NOT EXISTS database34_${var:rand_str}; > # create table IF NOT EXISTS > database34_${var:rand_str}.table_${var:rand_str}_34(id int,name string,dob > date); > As you can see, create a database/table, followed by drop statements, and > then recreated them. > Hence, there are 2 entities with same name, but the state is different (1 is > ACTIVE, 1 is DELETED). > Text compare: !Screenshot 2020-12-09 at 5.51.10 PM.png! > -- This message was sent by Atlassian Jira (v8.3.4#803005)