lukecwik commented on a change in pull request #12519:
URL: https://github.com/apache/beam/pull/12519#discussion_r469411514



##########
File path: 
runners/direct-java/src/main/java/org/apache/beam/runners/direct/DirectRunner.java
##########
@@ -179,6 +180,11 @@ public DirectPipelineResult run(Pipeline pipeline) {
 
       DisplayDataValidator.validatePipeline(pipeline);
       DisplayDataValidator.validateOptions(options);
+      // TODO(BEAM-10670): Remove the deprecated Read and make the splittable 
DoFn the only option.
+      if (!(ExperimentalOptions.hasExperiment(options, 
"beam_fn_api_use_deprecated_read")

Review comment:
       I wanted to use one that wasn't coupled to `beam_fn_api` so that users 
of non portable pipelines wouldn't be confused. I also don't want to impact 
existing users until we start removing the experiment so I needed to support 
both.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to