Skip to content

Commit 818ee3b

Browse files
committed
Revert "Avoid apiary submission of job graph when it is not needed. (#15458)"
This reverts commit a63e15f. This avoids regressions from missing display data that was being copied from the v1beta3 graph.
1 parent af81f06 commit 818ee3b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

sdks/python/apache_beam/runners/dataflow/dataflow_runner.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,6 @@ def run_pipeline(self, pipeline, options):
508508
# in the proto representation of the graph.
509509
pipeline.replace_all(DataflowRunner._NON_PORTABLE_PTRANSFORM_OVERRIDES)
510510

511-
# Always upload graph out-of-band when explicitly using runner v2 with
512-
# use_portable_job_submission to avoid irrelevant large graph limits.
513-
if (apiclient._use_unified_worker(debug_options) and
514-
debug_options.lookup_experiment('use_portable_job_submission') and
515-
not debug_options.lookup_experiment('upload_graph')):
516-
debug_options.add_experiment("upload_graph")
517-
518511
# Add setup_options for all the BeamPlugin imports
519512
setup_options = options.view_as(SetupOptions)
520513
plugins = BeamPlugin.get_all_plugin_paths()

0 commit comments

Comments
 (0)