Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1635

Qualified name in v1 lineage APIs have name even when Qualified name for that entity is available.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8-incubating
    • 0.8-incubating
    • atlas-core
    • None

    Description

      Following is the API response of the below V1 API.

      http://localhost:21000/api/atlas/lineage/317a2edf-d280-4b36-a385-11d56f99dc66/inputs/graph
      
      {
      	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"
      				]
      			}
      		}
      	}
      }
      
      

      Attachments

        1. ATLAS-1635.patch
          4 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: