CTTY commented on code in PR #6882:
URL: https://github.com/apache/hudi/pull/6882#discussion_r989554325
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/HoodieTableFileSystemView.java:
##########
@@ -167,6 +167,12 @@ public HoodieTableFileSystemView(HoodieTableMetaClient
metaClient, HoodieTimelin
addFilesToView(fileStatuses);
}
+ public HoodieTableFileSystemView(HoodieTableMetaClient metaClient,
HoodieTimeline visibleActiveTimeline,
+ Map<String, FileStatus[]> partitionFiles) {
+ this(metaClient, visibleActiveTimeline);
+ addFilesToView(partitionFiles);
+ }
+
Review Comment:
On the reading side, FSView has to be aware of physical path. Statuses got
passed in should be referring to the actual file. But this is breaking the
logic of getting partition name from file path (See L
--
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]