YannByron commented on code in PR #7042:
URL: https://github.com/apache/hudi/pull/7042#discussion_r1014582854
##########
hudi-common/src/main/java/org/apache/hudi/common/fs/FSUtils.java:
##########
@@ -355,11 +356,19 @@ public static String createNewFileId(String idPfx, int
id) {
return String.format("%s-%d", idPfx, id);
}
+ private static String extractCommonLogFileName(String fileName) {
+ if (fileName.endsWith(HoodieCDCUtils.CDC_LOGFILE_SUFFIX)) {
+ return fileName.substring(0, fileName.length() -
HoodieCDCUtils.CDC_LOGFILE_SUFFIX.length());
+ }
+ return fileName;
Review Comment:
then have to modify the origin pattern, like
https://github.com/apache/hudi/pull/7128.
--
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]