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 2023/03/28 18:00:00 UTC
[jira] [Closed] (ATLAS-4734) HiveProcess - Output entity creation is ignored in case of same entity exists both inputs and outputs from context
[ https://issues.apache.org/jira/browse/ATLAS-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radhika Kundam closed ATLAS-4734.
---------------------------------
> 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
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
>
> 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)