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.
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.