-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37375/
-----------------------------------------------------------

Review request for hive and Szehon Ho.


Bugs: HIVE-11464
    https://issues.apache.org/jira/browse/HIVE-11464


Repository: hive-git


Description
-------

Fixed missed lineage info when there are multiple inserts in one query 
statement. In generating the depedency map, we record the insert target tables 
and the corresponding select operators. We used to assume there is just one 
final select operator. It could be several, for example, in the multiple 
inserts case.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/Driver.java e7b7b55 
  ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageInfo.java fe0841e 
  ql/src/java/org/apache/hadoop/hive/ql/hooks/LineageLogger.java d615372 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/lineage/ExprProcFactory.java 
455a525 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/lineage/LineageCtx.java 
d26d8da 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/lineage/OpProcFactory.java 
f670db8 
  ql/src/test/queries/clientpositive/lineage3.q 53fff0f 
  ql/src/test/results/clientpositive/lineage3.q.out 75d88f8 

Diff: https://reviews.apache.org/r/37375/diff/


Testing
-------

Unit tests


Thanks,

Jimmy Xiang

Reply via email to