mirror of
https://github.com/alibaba/DataX.git
synced 2026-06-04 21:03:49 +08:00
Update DFSUtil.java
This commit is contained in:
parent
5d437e4de4
commit
1e7e5f7c84
@ -621,8 +621,9 @@ public class DFSUtil {
|
||||
} else if (StringUtils.equalsIgnoreCase(specifiedFileType, Constant.SEQ)) {
|
||||
|
||||
return isSequenceFile(filepath, in);
|
||||
} else if (StringUtils.equalsIgnoreCase(specifiedFileType, Constant.PARQUET)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
String message = String.format("检查文件[%s]类型失败,目前支持ORC,SEQUENCE,RCFile,TEXT,CSV五种格式的文件," +
|
||||
"请检查您文件类型和文件是否正确。", filepath);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user