vamsikarnika commented on code in PR #13803:
URL: https://github.com/apache/hudi/pull/13803#discussion_r2324223966


##########
hudi-common/src/main/java/org/apache/hudi/common/fs/FSUtils.java:
##########
@@ -446,9 +447,9 @@ public static boolean isLogFile(StoragePath logPath) {
   }
 
   public static boolean isLogFile(String fileName) {
-    if (fileName.contains(LOG_FILE_EXTENSION)) {
+    if (fileName.startsWith(LOG_FILE_START_WITH_CHARACTER) && 
fileName.contains(LOG_FILE_EXTENSION)) {

Review Comment:
   There are few tests related to `.archive` file that are failing when removed 
this check.



-- 
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]

Reply via email to