Author: Thomas Tauber-Marshall <email@example.com>
Date: Mon Dec 5 15:37:06 2016 -0800
IMPALA-3524: Don't process spilled partitions with 0 probe rows
In the partitioned hash join node, if a spilled partition has no probe
rows, building the hash table is unnecessary.
For some build types (right outer, right anti, and full outer), we still
need to process the build side to output unmatched rows (in this case, all
rows since there were no probe rows to match).
Testing: Added some cases to spilling.test. Manually tested these cases
for performance, and they all show around a 6% improvement.
Reviewed-by: Jim Apple <firstname.lastname@example.org>
Tested-by: Impala Public Jenkins