Skip to content

Commit 59f4a32

Browse files
committed
Merge branch 'hotfix_3.9.x_25656' into hotfix_3.9.x_jingdongfang
2 parents a9c28cd + 93485fe commit 59f4a32

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

flinkx-rdb/flinkx-rdb-reader/src/main/java/com.dtstack.flinkx.rdb.datareader/QuerySqlBuilder.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ private String buildQuerySqlWithCustomSql(){
159159
querySql.append(" ").append(RESTORE_FILTER_PLACEHOLDER);
160160
}
161161

162+
if (customFilter != null){
163+
customFilter = customFilter.trim();
164+
if (customFilter.length() > 0){
165+
querySql.append(" AND ").append(customFilter);
166+
}
167+
}
168+
162169
return querySql.toString();
163170
}
164171

0 commit comments

Comments
 (0)