Update DFSUtil.java

This commit is contained in:
jtchen-study 2023-10-17 11:11:43 +08:00 committed by GitHub
parent 5d437e4de4
commit 1e7e5f7c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);