GitHub user sohami opened a pull request:
https://github.com/apache/drill/pull/920
DRILL-5737: Hash Agg uses more than the allocated memory under certaiâ¦
â¦n low memory conditions
Note: Provide a new config parameter HASHAGG_FALLBACK_ENABLED
which is set to true by default. When 2 Phase
HashAgg doesn't have enough memory to hold 2 partitions then
based on this flag it either fallsback to old
behavior of consuming unbounded memory or it fails the query.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sohami/drill DRILL-5737
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/920.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 #920
----
commit b534fd67908ea6cc5471c650bd6c3ae1c193d2f4
Author: Sorabh Hamirwasia <[email protected]>
Date: 2017-08-23T01:20:51Z
DRILL-5737: Hash Agg uses more than the allocated memory under certain low
memory conditions
Note: Provide a new config parameter HASHAGG_FALLBACK_ENABLED
which is set to true by default. When 2 Phase
HashAgg doesn't have enough memory to hold 2 partitions then
based on this flag it either fallsback to old
behavior of consuming unbounded memory or it fails the query.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---