GitHub user Ben-Zvi opened a pull request:
https://github.com/apache/drill/pull/966
DRILL-5824: Retain original memory limit for 1st phase HashAgg with 1
partition
The First Phase Hash Aggr always "fell back" to 1.10 behaviour (i.e.
memory limit up to 10GB) when its number of partitions was 1. However the 1st
phase can always "spill" (i.e. early return some partition). Hence the code was
change for 1st phase (only operator that can spill with 1 partition) to retain
its original memory limit and not "fall back".
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Ben-Zvi/drill DRILL-5824
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/966.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #966
----
commit 08f3a5150fdbc326a8e1be6e899f421859f09c37
Author: Ben-Zvi <[email protected]>
Date: 2017-09-29T00:09:53Z
Retain original memory limit for 1st phase HashAgg with 1 partition
----
---