Sharmadha Sainath created ATLAS-1635:
----------------------------------------

             Summary: Qualified name in v1 lineage APIs have name even when 
Qualified name for that entity is available.
                 Key: ATLAS-1635
                 URL: https://issues.apache.org/jira/browse/ATLAS-1635
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.8-incubating
            Reporter: Sharmadha Sainath


Following is the API response of the below V1 API.
{code}
http://localhost:21000/api/atlas/lineage/317a2edf-d280-4b36-a385-11d56f99dc66/inputs/graph
{code}

{code}
{
        requestId: "pool-1-thread-9 - 5f7f24de-97a0-467e-9e23-6d9c385701ff",
        results: {
                jsonClass: 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                typeName: "__tempQueryResultStruct2",
                values: {
                        vertices: {
                                317 a2edf - d280 - 4 b36 - a385 - 11 
d56f99dc66: {
                                        jsonClass: 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                                        typeName: "__tempQueryResultStruct0",
                                        values: {
                                                qualifiedName: "t1ctas",
                                                vertexId: {
                                                        jsonClass: 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                                                        typeName: "__IdType",
                                                        values: {
                                                                guid: 
"317a2edf-d280-4b36-a385-11d56f99dc66",
                                                                state: "ACTIVE",
                                                                typeName: 
"hive_table"
                                                        }
                                                },
                                                name: "t1ctas"
                                        }
                                },
                                fd9caa83 - c861 - 4314 - a33d - 56e9 dcea1c44: {
                                        jsonClass: 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                                        typeName: "__tempQueryResultStruct1",
                                        values: {
                                                qualifiedName: "t1",
                                                vertexId: {
                                                        jsonClass: 
"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct",
                                                        typeName: "__IdType",
                                                        values: {
                                                                guid: 
"fd9caa83-c861-4314-a33d-56e9dcea1c44",
                                                                state: "ACTIVE",
                                                                typeName: 
"hive_table"
                                                        }
                                                },
                                                name: "t1"
                                        }
                                }
                        },
                        edges: {
                                317 a2edf - d280 - 4 b36 - a385 - 11 
d56f99dc66: [
                                        "305e65b3-6058-4ac8-be3c-9d60d42df4d4"
                                ],
                                305e65 b3 - 6058 - 4 ac8 - be3c - 9 
d60d42df4d4: [
                                        "fd9caa83-c861-4314-a33d-56e9dcea1c44"
                                ]
                        }
                }
        }
}

{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to