xiarixiaoyao commented on a change in pull request #3203:
URL: https://github.com/apache/hudi/pull/3203#discussion_r718193385
##########
File path: hudi-common/src/main/java/org/apache/hudi/common/fs/FSUtils.java
##########
@@ -336,6 +336,11 @@ public static String getFileExtensionFromLog(Path logPath)
{
return matcher.group(3);
}
+ public static String getLogFileExtension(String fullName) {
+ Matcher matcher = LOG_FILE_PATTERN.matcher(fullName);
Review comment:
getFileExtensionFromLog will throw InvalidHoodiePathException is the
file is not a log file。 When we check whether the current file is a log file,
we don’t want to throw an exception
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]