Radhika Kundam created ATLAS-4734:
-------------------------------------

             Summary: HiveProcess - Output entity creation is ignored in case 
of same entity exists both inputs and outputs from context
                 Key: ATLAS-4734
                 URL: https://issues.apache.org/jira/browse/ATLAS-4734
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Radhika Kundam
            Assignee: Radhika Kundam


Lineage is not generated while using INSERT OVERWRITE with UNION and LEFT JOIN.
{code:java}
INSERT OVERWRITE TABLE tblB SELECT id, name, email FROM tblA UNION SELECT B.id, 
B.name, B.email FROM tblB B LEFT JOIN tblA A ON B.id=A.id; {code}
In this scenario Hive context will be sending inputs as tblA & tblB and outputs 
as tblB.

While processing these inputs and outputs since tblB is already processed as 
part of inputs, it's getting ignored while processing as part of outputs. 
Because of that hive_process entity is missing outputs entity details.



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

Reply via email to