mirror of
https://github.com/apache/impala.git
synced 2026-01-07 18:02:33 -05:00
The bug was that SubplanNode::GetNext() was not explicitly setting the returned eos to false if eos had not been reached yet. As a result, a UnionNode with a SubplanNode as its second operand could return fewer rows than expected becasue the eos was carried over from the previous union operand, and only a single batch was returned from the SubplanNode. The fix is to always set the eos return value in SubplanNode::GetNext(). Change-Id: I9f7516d7b740b9e089ea29b9fe416f3f47314e2c Reviewed-on: http://gerrit.cloudera.org:8080/1076 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins