vamsikarnika commented on code in PR #14260:
URL: https://github.com/apache/hudi/pull/14260#discussion_r2542584528
##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java:
##########
@@ -536,7 +565,27 @@ private Map<String, HoodieMetadataFileInfo>
combineFileSystemMetadata(HoodieMeta
if (filesystemMetadata != null) {
validatePayload(type, filesystemMetadata);
+
+ Map<String, HoodieMetadataFileInfo> updatedFilesystemMetadata = new
HashMap<>();
+
+ // To Do; Do this only for unified view table
filesystemMetadata.forEach((key, fileInfo) -> {
+ List<String> originalFile = combinedFileInfo.keySet().stream()
+ .filter(oKey -> oKey.startsWith(key)).collect(Collectors.toList());
+
+ if (originalFile.size() > 1) {
+ throw new HoodieException("Unexpected behaviour");
+ }
+
+ if (originalFile.size() == 1) {
Review Comment:
Missed to remove this change. Will remove this
--
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]