Re: Column lineage not set in HiveHook

2016-09-06 Thread Vimal Sharma
The query is a CTAS operation. create table t1(id int, name string); create table t2 as select * from t1; I am expecting dependencies t1.id -> t2.id and t1.name -> t2.name. But, it seems that the source column is not getting set properly during execution. As a result, I am getting null in source

Column lineage not set in HiveHook

2016-09-06 Thread Vimal Sharma
Hi all, I am trying to access the column lineage information from Hive Hook. I am getting the lineage information from HookContext : lInfo = hookContext.getLinfo() But, when I try to access the Dependency in lInfo, it is null. Below is the sample code: for(Map.Entry e : lInfo.entrySe