atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kantor (JIRA)" <>
Subject [jira] [Commented] (ATLAS-122) Support for Deletion of Entities
Date Wed, 16 Dec 2015 03:00:52 GMT


David Kantor commented on ATLAS-122:

I had already started working on sub-task Atlas-370 last week and have a working implementation
which I'm in the process of testing.  Deletes are cascaded through composite references. 
In doing so, I have addressed issues in the existing update code which neglected to delete
any structs or traits owned by the composite entities.  In addition, deletes are cascaded
down through n-levels of composition - the existing code stopped at the first level.   I have
attached a tar file with the changes I have applied so far, and a patch file which shows the

I have initially exposed delete through MetadataRepository as a GUID-based operation, i.e.
  List <String> deleteEntities(String... guids)
The idea here is to avoid requiring client applications from having to retrieve full entities
they wish to delete.  We could certainly add another entry point for an entity-based operation.

With regard to the hive model, it looks like HIVE_TABLE.partitionKeys is already defined as
a composite reference in HiveDataModelGenerator.createTableClass().  Please let me know about
other hive model changes that are needed.

> Support for Deletion of Entities
> --------------------------------
>                 Key: ATLAS-122
>                 URL:
>             Project: Atlas
>          Issue Type: New Feature
>            Reporter: Suma Shivaprasad
>            Assignee: David Kantor

This message was sent by Atlassian JIRA

View raw message