SideInputHandler should garbage collect PCollectionView contents
Open
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
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