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

Suma Shivaprasad edited comment on ATLAS-919 at 6/20/16 10:52 PM:
------------------------------------------------------------------

Attaching sample json . Refer column abc in json which has state =DELETED

{
jsonClass: "org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
id: {
jsonClass: "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
id: "371b07b0-1a49-4491-9af6-953b376699e8",
version: 0,
typeName: "hive_column",
state: "DELETED"
},
typeName: "hive_column",
values: {
name: "abc",
qualifiedName: "testdb1.test_table.abc@primary",
comment: null,
type: "string",
table: {
jsonClass: "org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
id: "91529261-d568-40ee-9b2e-b488cff61de1",
version: 0,
typeName: "hive_table",
state: "ACTIVE"
}
},
traitNames: [ ],
traits: { }
}
],


was (Author: suma.shivaprasad):
Attaching sample json 

> UI : Deleted references should be shown in red color or filtered out
> --------------------------------------------------------------------
>
>                 Key: ATLAS-919
>                 URL: https://issues.apache.org/jira/browse/ATLAS-919
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Keval Bhatt
>            Priority: Critical
>             Fix For: 0.7-incubating
>
>         Attachments: 91529261-d568-40ee-9b2e-b488cff61de1.json
>
>
> Foe eg: In a hive_table one of the columns could be dropped in which case the 
> columns array will have the deleted column as well. This could be shown in 
> red color or completely filtered out in the UI. the way to identify this is 
> to check if the entity status is DELETED when going through the references.



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

Reply via email to