apache / apache/beam

The FlinkRunner shouldn't require all of the values for a key to fit in memory

Open
#18,848 0 comments 0 reactions 0 assignees View on GitHub
flink new feature P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The use of a reducer that adds all of the elements that it consumes to a list is the primary way in which this occurs - if instead, we produce a filtered iterable, or a collection of filtered iterables, we can lazily iterate over all of the contained elements without having to buffer all of the elements.

 

For an example of where this occurs, see `Concatenate` in  `FlinkBatchPortablePipelineTranslator`.

Imported from Jira [BEAM-4228](https://issues.apache.org/jira/browse/BEAM-4228). Original Jira may contain additional context.
Reported by: tgroh.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.