Skip to content

Check immutability violations in Dataflow Runner (as an option) #19400

@kennknowles

Description

@kennknowles

Users are going to mutate inputs and outputs of DoFn inappropriately. We should help their tests fail to catch such mistakes. (Similar to the DirectPipelineRunner in Java SDK) This should be offered as an option and worked based on sampling because of the cost of these checks.

Imported from Jira BEAM-7395. Original Jira may contain additional context.
Reported by: altay.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions