Skip to content

Commit c2f57cd

Browse files
author
gituser
committed
Merge branch '1.10_release_4.0.x' into 1.10_release_4.1.x
2 parents fe7880a + 6285743 commit c2f57cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impala/impala-sink/src/main/java/com/dtstack/flink/sql/sink/impala/ImpalaOutputFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ private String buildValuesCondition(List<String> fieldTypes, Row row) {
588588
if (DtStringUtil.isEmptyOrNull(rowField)) {
589589
valuesCondition = valuesCondition.replaceFirst("'\\?'", "null");
590590
} else {
591-
valuesCondition = valuesCondition.replaceFirst("\\?", rowField.toString());
591+
valuesCondition = valuesCondition.replaceFirst("\\?", Matcher.quoteReplacement(rowField.toString()));
592592
}
593593
}
594594
return "(" + valuesCondition + ")";

0 commit comments

Comments
 (0)