Skip to content

Commit 5af9f50

Browse files
author
gituser
committed
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
2 parents 4838811 + 15a770c commit 5af9f50

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,13 @@ private Map<String, Object> parseInputParam(BaseRow input) {
224224
for (int i = 0; i < sideInfo.getEqualValIndex().size(); i++) {
225225
Integer conValIndex = sideInfo.getEqualValIndex().get(i);
226226
Object equalObj = genericRow.getField(conValIndex);
227-
if (equalObj == null) {
228-
return inputParams;
229-
}
227+
// comment by tiezhu
228+
// 假设SQL中有三个主键[a, b, c],同时主键[b]的值为null,那么
229+
// inputParams中只会有主键[a]的值,主键[b, c]都不包含,导致
230+
// 后面rdb 维表替换where 条件时缺少 value,查询SQL 执行失败
231+
// if (equalObj == null) {
232+
// return inputParams;
233+
// }
230234
String columnName = sideInfo.getEqualFieldList().get(i);
231235
inputParams.put(columnName, equalObj);
232236
}

0 commit comments

Comments
 (0)