You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2021/04/16 12:16:00 UTC
[jira] [Created] (FLINK-22314) AggRecordsCombiner should combine
buffered records first instead of accumulate on state directly
Jark Wu created FLINK-22314:
-------------------------------
Summary: AggRecordsCombiner should combine buffered records first instead of accumulate on state directly
Key: FLINK-22314
URL: https://issues.apache.org/jira/browse/FLINK-22314
Project: Flink
Issue Type: Bug
Components: Table SQL / Runtime
Reporter: Jark Wu
In Window TVF Aggregation, currently, the {{AggRecordsCombiner}} accumulates buffered records on state directly. This is not good for performance. We can accumulate records in memory first, and then merge the accumulator into state, if the aggs support {{merge()}} method. This can reduce lots of state accessing when having {{COUNT DISTINCT}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)