[
https://issues.apache.org/jira/browse/FLINK-11882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kurt Young closed FLINK-11882.
------------------------------
Resolution: Implemented
Fix Version/s: 1.9.0
fixed in c02eec9e1b758cfd743623635eb063d24b366780
> Introduce BytesHashMap to batch hash agg
> ----------------------------------------
>
> Key: FLINK-11882
> URL: https://issues.apache.org/jira/browse/FLINK-11882
> Project: Flink
> Issue Type: New Feature
> Components: Runtime / Operators
> Reporter: Jingsong Lee
> Assignee: Jingsong Lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Introduce bytes based hash table.
> It can be used for performing aggregations where the aggregated values are
> fixed-width.
> Because the data is stored in continuous memory, AggBuffer of variable length
> cannot be applied to this HashMap. The KeyValue form in hash map is designed
> to reduce the cost of key fetching in lookup.
> Add a test to do a complete hash agg. When HashMap has enough memory, pure
> hash AGG is performed; when memory is insufficient, it degenerates into sort
> agg.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)