hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-14706) Lineage information not set properly
Date Thu, 12 Jan 2017 01:19:16 GMT

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

Pengcheng Xiong reassigned HIVE-14706:
--------------------------------------

    Assignee: Pengcheng Xiong

> Lineage information not set properly
> ------------------------------------
>
>                 Key: HIVE-14706
>                 URL: https://issues.apache.org/jira/browse/HIVE-14706
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vimal Sharma
>            Assignee: Pengcheng Xiong
>            Priority: Critical
>
> I am trying to fetch column level lineage after a CTAS query in a Post Execution hook
in Hive. Below are the queries:
> {code}
> create table t1(id int, name string);
> create table t2 as select * from t1;
> {code}
> The lineage information is retrieved using the following sample piece of code:
> {code}
> lInfo = hookContext.getLinfo()
> for(Map.Entry<LineageInfo.DependencyKey, LineageInfo.Dependency> e : lInfo.entrySet())
{
>     System.out.println("Col Lineage Key : " + e.getKey());
>     System.out.println("Col Lineage Value: " + e.getValue());
> }
> {code}
> The Dependency field(i.e Col Lineage Value)  is coming in as null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message