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

danny0405 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 e38c030ed5c [HUDI-6617] Fix HoodieRecordDelegate 
NotSerializableException (#9318)
e38c030ed5c is described below

commit e38c030ed5c426d8aae9337ef1e20bf98cd7178b
Author: Dongsj <[email protected]>
AuthorDate: Mon Jul 31 16:37:47 2023 +0800

    [HUDI-6617] Fix HoodieRecordDelegate NotSerializableException (#9318)
    
    Co-authored-by: dongsj <[email protected]>
---
 .../main/java/org/apache/hudi/common/model/HoodieRecordDelegate.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordDelegate.java
 
b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordDelegate.java
index 32e81bb7f8b..d265c15f114 100644
--- 
a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordDelegate.java
+++ 
b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordDelegate.java
@@ -23,6 +23,8 @@ import org.apache.hudi.common.util.Option;
 
 import javax.annotation.Nullable;
 
+import java.io.Serializable;
+
 /**
  * Delegate for {@link HoodieRecord}.
  * <p>
@@ -30,7 +32,7 @@ import javax.annotation.Nullable;
  * instead of passing back the full {@link HoodieRecord}, this lean delegate
  * of it will be passed instead.
  */
-public class HoodieRecordDelegate {
+public class HoodieRecordDelegate implements Serializable {
 
   private final HoodieKey hoodieKey;
 

Reply via email to