You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Zineng Yuan (JIRA)" <ji...@apache.org> on 2016/12/09 21:37:58 UTC

[jira] [Commented] (ATLAS-1318) Atlas Type System does not have DELETE API

    [ https://issues.apache.org/jira/browse/ATLAS-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736411#comment-15736411 ] 

Zineng Yuan commented on ATLAS-1318:
------------------------------------

Vimal Sharma.
My apologies for delayed response. I was off past week.  Continue our discussion:

We all agree as long as we can identify "Customized" type and handle reference properly, we can proceed the the DELETE API. Having said that,  a few clarifications are needed:

1) You mentioned in 3) no reference to "System" Type. Since 2) ensures no data entity exists for "Customized" type, in other words, no "Customized" object exists, so how a reference from "Customized" type can happen? Could you please clarify?

2)  We must identify "Customized" data type.  We are looking for a solution.  You mentioned "System" types are registered during bootstrap, so is there something we can rely on to identify "Customized" type from "System" type?  Otherwise, my proposal is to add an common optional attribute as Atlas type standard to specify a "Customized" type.

3) For hierarchical types (Trait type included),  besides no entities constraint, we don't want to delete a parent type if a child type still exists. To prevent this type reference from happening, we must look for type reference and ensure no other types refer to it.  Could you suggest an easy way to find type references ?     

> Atlas Type System does not have DELETE API
> ------------------------------------------
>
>                 Key: ATLAS-1318
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1318
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Zineng Yuan
>
> I am trying to extend Atlas Type System by adding custom data type. However, when I found a type name was misspecified and needed to be recreated, I can't find a Restful Delete API.
> Question is does Atlas expose a Delete API for custom data types/attributes? Without this delete API, it's difficult to rely on Atlas as a meta store to extend custom data.  
> Please do suggest how to recreate a data type in this case. Thank you! 
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)