You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Radhika Kundam (Jira)" <ji...@apache.org> on 2022/07/29 17:29:00 UTC

[jira] [Resolved] (ATLAS-4644) [Lineage Improvements] When direction is 'INPUT' for a lineage which does not have inputs, the response does not contain guidEntityMap

     [ https://issues.apache.org/jira/browse/ATLAS-4644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radhika Kundam resolved ATLAS-4644.
-----------------------------------
      Assignee: Radhika Kundam
    Resolution: Not A Bug

> [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
>            Assignee: Radhika Kundam
>            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)