mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 00:59:47 +08:00
commit
50d30d941c
@ -307,6 +307,8 @@ public class DefaultDataHandler implements DataHandler {
|
||||
if (colMeta.type.equals("TIMESTAMP"))
|
||||
return "\"" + column.asString() + "\"";
|
||||
String value = column.asString();
|
||||
if (value == null)
|
||||
return "NULL";
|
||||
return "\'" + Utils.escapeSingleQuota(value) + "\'";
|
||||
case NULL:
|
||||
case BAD:
|
||||
|
Loading…
Reference in New Issue
Block a user