danny0405 commented on code in PR #10928:
URL: https://github.com/apache/hudi/pull/10928#discussion_r1540432853
##########
hudi-common/src/test/java/org/apache/hudi/common/table/view/TestHoodieTableFileSystemView.java:
##########
@@ -633,6 +633,61 @@ void testFileSlicingWithMultipleDeltaWriters() throws
Exception {
assertEquals(deltaFile3, logFiles.get(0).getFileName(), "Log File Order
check");
}
+ @Test
+ void testLoadPartitions_unPartitioned() throws Exception {
+ String partitionPath = "";
+ Paths.get(basePath, partitionPath).toFile().mkdirs();
+ String fileId = UUID.randomUUID().toString();
+
+ String instantTime1 = "1";
+ String fileName1 =
+ FSUtils.makeLogFileName(fileId, HoodieLogFile.DELTA_EXTENSION,
instantTime1, 0, TEST_WRITE_TOKEN);
Review Comment:
Is there any testing for remote fs view?
--
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]