apache / apache/beam

SideInputHandler should garbage collect PCollectionView contents

Open
#18,242 0 comments 0 reactions 0 assignees View on GitHub
apex core flink improvement P3 runners spark
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

It should use the maximum lookback of the associated `WindowMappingFn`.

This will cause Flink, Spark, and Apex to automatically start to Garbage Collect view contents.

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

Contributor guide

Open the contributing guide

Research direction

Start with SideInputHandler and the associated WindowMappingFn entry points; the issue provides no file or test names, so trace how PCollectionView contents are retained by the Flink, Spark, and Apex runners. Done means view contents are garbage-collected according to the mapping function's maximum lookback across those runners.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.