Skip to content

Commit 5c5a519

Browse files
maqimaqi
authored andcommitted
retractstream to appendstream
1 parent 1d4cd89 commit 5c5a519

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/com/dtstack/flink/sql/side/SideSqlExec.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ private void joinFun(Object pollObj, Map<String, Table> localTableCache,
593593
}
594594

595595
RowTypeInfo typeInfo = new RowTypeInfo(targetTable.getSchema().getTypes(), targetTable.getSchema().getColumnNames());
596-
DataStream adaptStream = tableEnv.toRetractStream(targetTable, org.apache.flink.types.Row.class);
596+
//DataStream adaptStream = tableEnv.toRetractStream(targetTable, org.apache.flink.types.Row.class);
597+
DataStream adaptStream = tableEnv.toAppendStream(targetTable, org.apache.flink.types.Row.class);
597598

598599
//join side table before keyby ===> Reducing the size of each dimension table cache of async
599600
if(sideTableInfo.isPartitionedJoin()){

0 commit comments

Comments
 (0)