From 1fd191d3195ae7c9e00545977ebfbdcc05f13e20 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Thu, 27 May 2021 14:23:36 -0700 Subject: [PATCH] Populate use_sdf_read in ExpansionService. --- .../apache/beam/sdk/expansion/service/ExpansionService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java b/sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java index 72e73848b389..d4f0e6a1a535 100644 --- a/sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java +++ b/sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java @@ -394,6 +394,9 @@ private Map loadRegisteredTransforms() { Pipeline pipeline = Pipeline.create(); ExperimentalOptions.addExperiment( pipeline.getOptions().as(ExperimentalOptions.class), "beam_fn_api"); + // TODO(BEAM-10670): Remove this when we address performance issue. + ExperimentalOptions.addExperiment( + pipeline.getOptions().as(ExperimentalOptions.class), "use_sdf_read"); ClassLoader classLoader = Environments.class.getClassLoader(); if (classLoader == null) {