mirror of https://github.com/alibaba/DataX.git
解决文本中日期类型的数据为空时转换报错的问题
This commit is contained in:
parent
754fe7b111
commit
db395d4300
|
|
@ -434,7 +434,7 @@ public class UnstructuredStorageReaderUtil {
|
|||
break;
|
||||
case DATE:
|
||||
try {
|
||||
if (columnValue == null) {
|
||||
if(StringUtils.isBlank(columnValue)) {
|
||||
Date date = null;
|
||||
columnGenerated = new DateColumn(date);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue