apache / apache/beam

DoFnSignature should have info on the fn's side inputs and outputs

Open
#18,191 0 comments 0 reactions 0 assignees View on GitHub
core improvement java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

This is logically part of the fn itself, rather than its enclosing transform.

Example where this would have been important: signature.processElement().observesWindow() should return true for a DoFn that has any side inputs, since side inputs are windowed. See BEAM-1149.

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

Contributor guide

Open the contributing guide

Research direction

Locate DoFnSignature and the processElement().observesWindow() behavior, then read the BEAM-1149 context linked in the issue. The change is complete when DoFnSignature exposes the function's side inputs and outputs and observesWindow() returns true for a DoFn with side inputs, with tests covering that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.