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

Radhika Kundam commented on ATLAS-4644:
---------------------------------------

{color:#172b4d}As per the design, when there is no lineage information/no 
relations, guidEntityMap will be empty and UI will simply display the node 
based on baseGuid. {color}

{color:#172b4d}Closing this Jira as it's expected behavior.{color}

> [Lineage Improvements] When direction is 'INPUT' for a lineage which does not 
> have inputs, the response does not contain guidEntityMap
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4644
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4644
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Dharshana M Krishnamoorthy
>            Priority: Major
>
> Input setup:
> Enable lineage improvements: *atlas.lineage.on.demand.enabled=true*
> Run the following to repro the issue 
> {code:java}
> create database scenario_1; use scenario_1;
> create table table_1(fname string, lname string, mname string, e_id int, 
> contact_no int);
> create table table_11 as select * from table_1;
> create table table_12 as select * from table_1;
> create table table_13 as select * from table_1;
> create table table_14 as select * from table_1; {code}
> Payload 
> {code:java}
> {
>     "<scenario_1.table_1.guid>": {
>         "direction": "INPUT",
>         "inputRelationsLimit": 1
>     }
> }{code}
> Response:
> {code:java}
> {
>     "baseEntityGuid": "f92a6057-f6c8-4c0e-a3a0-50dba5f507d3",
>     "lineageDirection": "INPUT",
>     "lineageDepth": 3,
>     "guidEntityMap": {},
>     "relations": [],
>     "relationsOnDemand": {},
>     "lineageOnDemandPayload": {
>         "f92a6057-f6c8-4c0e-a3a0-50dba5f507d3": {
>             "direction": "INPUT",
>             "inputRelationsLimit": 1,
>             "outputRelationsLimit": 3,
>             "depth": 3
>         }
>     }
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to