apache / apache/beam

DoFn Setup and Teardown methods should have access to PipelineOptions

Open
#18,072 0 comments 1 reaction 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 enables any options-relevant decisions to be made once per DoFn, without having to lazily initialize in `startBundle`

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the DoFn setup and teardown lifecycle and how PipelineOptions are currently made available to DoFns. Define the expected access at both lifecycle points and verify the behavior with the relevant Beam tests once the affected implementation and test locations are identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.