Skip to content

Commit 53d6928

Browse files
Paddy0523FlechazoW
authored andcommitted
[hotfix][main]Sync jobs disable operator chains (#1263)
1 parent 613b697 commit 53d6928

File tree

1 file changed

+2
-1
lines changed
  • chunjun-core/src/main/java/com/dtstack/chunjun

1 file changed

+2
-1
lines changed

chunjun-core/src/main/java/com/dtstack/chunjun/Main.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ private static void exeSyncJob(
211211
if (transformer) {
212212
dataStream = syncStreamToTable(tableEnv, config, dataStreamSource);
213213
} else {
214+
env.disableOperatorChaining();
214215
dataStream = dataStreamSource;
215216
}
216217

@@ -223,7 +224,7 @@ private static void exeSyncJob(
223224
if (speed.getWriterChannel() > 0) {
224225
dataStreamSink.setParallelism(speed.getWriterChannel());
225226
}
226-
// env.disableOperatorChaining();
227+
227228
JobExecutionResult result = env.execute(options.getJobName());
228229
if (env instanceof MyLocalStreamEnvironment) {
229230
PrintUtil.printResult(result.getAllAccumulatorResults());

0 commit comments

Comments
 (0)