This is an automated email from the ASF dual-hosted git repository.

wombatukun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new c3c818743a6 [MINOR] Fix jenkins compile issue (#12810)
c3c818743a6 is described below

commit c3c818743a69e3fa11f71a56237c962909138a0d
Author: Davis-Zhang-Onehouse 
<[email protected]>
AuthorDate: Sun Feb 9 18:02:42 2025 -0800

    [MINOR] Fix jenkins compile issue (#12810)
---
 .../java/org/apache/hudi/cli/commands/FileSystemViewCommand.java     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java
 
b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java
index 6a03155568e..9f23a8723c4 100644
--- 
a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java
+++ 
b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java
@@ -31,7 +31,6 @@ import org.apache.hudi.common.table.timeline.HoodieTimeline;
 import org.apache.hudi.common.table.timeline.TimelineFactory;
 import org.apache.hudi.common.table.view.HoodieTableFileSystemView;
 import org.apache.hudi.common.util.NumericUtils;
-import org.apache.hudi.common.util.Option;
 import org.apache.hudi.storage.HoodieStorage;
 import org.apache.hudi.storage.StoragePath;
 import org.apache.hudi.storage.StoragePathInfo;
@@ -41,7 +40,6 @@ import org.springframework.shell.standard.ShellMethod;
 import org.springframework.shell.standard.ShellOption;
 
 import java.io.IOException;
-import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
@@ -273,8 +271,7 @@ public class FileSystemViewCommand {
       instantsStream = instantsStream.filter(is -> predicate.test(maxInstant, 
is.requestedTime()));
     }
     TimelineFactory timelineFactory = 
metaClient.getTimelineLayout().getTimelineFactory();
-    HoodieTimeline filteredTimeline = 
timelineFactory.createDefaultTimeline(instantsStream,
-        (Function<HoodieInstant, Option<byte[]>> & Serializable) 
metaClient.getActiveTimeline()::getInstantDetails);
+    HoodieTimeline filteredTimeline = 
timelineFactory.createDefaultTimeline(instantsStream, 
metaClient.getActiveTimeline()::getInstantDetails);
     return new HoodieTableFileSystemView(metaClient, filteredTimeline, 
pathInfoList);
   }
 }

Reply via email to