You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Antal Sinkovits via Review Board <no...@reviews.apache.org> on 2019/04/16 12:07:11 UTC

Review Request 70486: HIVE-21610: Union operator can flow in the wrong stage causing NPE

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

Review request for hive, Zoltan Haindrich, Naveen Gangam, and Peter Vary.


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


Repository: hive-git


Description
-------

Because of HIVE-16227 it can happen that a UnionOperator will partially go into the wrong stage, because the currTask is changed, and the UnionOperator is reinitialized in GenMRFileSink1 with the wrong task.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMRFileSink1.java 25c6b24f46771ba12327851285af15ffb9b65bcd 
  ql/src/test/queries/clientpositive/unionall_lateralview2.q PRE-CREATION 
  ql/src/test/results/clientpositive/unionall_lateralview2.q.out PRE-CREATION 


Diff: https://reviews.apache.org/r/70486/diff/1/


Testing
-------


Thanks,

Antal Sinkovits