atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-947) Return state information in inputs and outputs lineage API
Date Fri, 24 Jun 2016 10:38:16 GMT

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

Shwetha G S commented on ATLAS-947:
-----------------------------------

Here is a sample json
{noformat}
{  
   requestId:"qtp966396367-171 - 685b8b53-c999-4f78-bcb6-4849a44ec3d6",
   results:{  
      jsonClass:"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
      typeName:"__tempQueryResultStruct17",
      values:{  
         vertices:{  
            0            a0f0924-bf6c-47d7-a93a-f06378896ad7:{  
               jsonClass:"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
               typeName:"__tempQueryResultStruct16",
               values:{  
                  qualifiedName:"default.t2@primary",
                  vertexId:{  
                     jsonClass:"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                     typeName:"__IdType",
                     values:{  
                        guid:"0a0f0924-bf6c-47d7-a93a-f06378896ad7",
                        state:"ACTIVE",
                        typeName:"hive_table"
                     }
                  },
                  name:"t2"
               }
            },
            cebdf4a6-838c-45d7-b166-302c0e4c6c48:{  
               jsonClass:"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
               typeName:"__tempQueryResultStruct16",
               values:{  
                  qualifiedName:"default.t1@primary",
                  vertexId:{  
                     jsonClass:"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                     typeName:"__IdType",
                     values:{  
                        guid:"cebdf4a6-838c-45d7-b166-302c0e4c6c48",
                        state:"ACTIVE",
                        typeName:"hive_table"
                     }
                  },
                  name:"t1"
               }
            }
         },
         edges:{  
            4            b5b2118-c899-40e5-b050-c47a4e3d82b6:[  
               "0a0f0924-bf6c-47d7-a93a-f06378896ad7"
            ],
            cebdf4a6-838c-45d7-b166-302c0e4c6c48:[  
               "4b5b2118-c899-40e5-b050-c47a4e3d82b6"
            ]
         }
      }
   }
}
{noformat}

> Return state information in inputs and outputs lineage API
> ----------------------------------------------------------
>
>                 Key: ATLAS-947
>                 URL: https://issues.apache.org/jira/browse/ATLAS-947
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating, 0.8-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Shwetha G S
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-947.patch
>
>
> Return state of entity along with name in lineage inputs and outputs API



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

Mime
View raw message