Skip to content

Commit 0d7fbad

Browse files
author
dapeng
committed
Merge branch 'feat_1.8_asyncException_mergeDev' into feat_1.8_asyncException_mergeTest
2 parents 1487ed9 + 3ca492b commit 0d7fbad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ protected void preInvoke(CRow input, ResultFuture<CRow> resultFuture){
161161
}
162162

163163
@Override
164-
public void asyncInvoke(CRow input, ResultFuture<CRow> resultFuture) throws Exception {
164+
public void asyncInvoke(CRow row, ResultFuture<CRow> resultFuture) throws Exception {
165+
CRow input = new CRow(Row.copy(row.row()), row.change());
165166
preInvoke(input, resultFuture);
166167
Map<String, Object> inputParams = parseInputParam(input);
167168
if(MapUtils.isEmpty(inputParams)){

redis5/redis5-side/redis-async-side/src/main/java/com/dtstack/flink/sql/side/redis/RedisAsyncReqRow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void accept(Map<String, String> values) {
144144
dealCacheData(key,CacheObj.buildCacheObj(ECacheContentType.MultiLine, values));
145145
resultFuture.complete(Collections.singleton(new CRow(row, input.change())));
146146
} catch (Exception e) {
147-
dealFillDataError(resultFuture, e, input);
147+
dealFillDataError(input, resultFuture, e);
148148
}
149149
} else {
150150
dealMissKey(input, resultFuture);

0 commit comments

Comments
 (0)