You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2022/07/22 17:43:00 UTC
[jira] [Created] (ATLAS-4644) [Lineage Improvements] When direction is 'INPUT' for a lineage which does not have inputs, the response does not contain guidEntityMap
Dharshana M Krishnamoorthy created ATLAS-4644:
-------------------------------------------------
Summary: [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
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)