Skip to content

Commit a4939f5

Browse files
authored
Merge pull request #493 from tapdata/TAP-5859
fix: TAP-5859 fix dws replace blank
2 parents 5e1d03d + e089238 commit a4939f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

connectors/dws-connector/src/main/java/io/tapdata/connector/dws/DwsWriteRecorder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ protected Object filterValue(Object value, String dataType) throws SQLException
4747
if (value == null) {
4848
return null;
4949
}
50+
value = super.filterValue(value, dataType);
5051
if (value instanceof String && EmptyKit.isEmpty((String) value)) {
5152
return replaceBlank;
5253
}
53-
return super.filterValue(value, dataType);
54+
return value;
5455
}
5556

5657
}

0 commit comments

Comments
 (0)