You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vh...@apache.org on 2025/04/11 06:50:36 UTC
(hudi) 04/26: [MINOR]Fix typo and Add implementation class name in interface method of HoodieRecordMerger (#13059)
This is an automated email from the ASF dual-hosted git repository.
vhs pushed a commit to branch release-1.0.2
in repository https://gitbox.apache.org/repos/asf/hudi.git
commit be7b7316fb262aa1fd16c59fac1454a58b0f8866
Author: wangyinsheng <wy...@gmail.com>
AuthorDate: Tue Apr 1 08:10:16 2025 +0800
[MINOR]Fix typo and Add implementation class name in interface method of HoodieRecordMerger (#13059)
Co-authored-by: wangyinsheng <wa...@jd.com>
(cherry picked from commit 93b4da301d12b4a2d66787d80ce3071876aaad22)
---
.../main/java/org/apache/hudi/common/model/HoodieRecordMerger.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordMerger.java b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordMerger.java
index f6d1cb1db3a..ac17959d5a8 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordMerger.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordMerger.java
@@ -119,7 +119,7 @@ public interface HoodieRecordMerger extends Serializable {
* @throws IOException upon merging error.
*/
default Option<Pair<HoodieRecord, Schema>> partialMerge(HoodieRecord older, Schema oldSchema, HoodieRecord newer, Schema newSchema, Schema readerSchema, TypedProperties props) throws IOException {
- throw new UnsupportedOperationException("Partial merging logic is not implemented.");
+ throw new UnsupportedOperationException("Partial merging logic is not implemented by " + this.getClass().getName());
}
/**
@@ -141,7 +141,7 @@ public interface HoodieRecordMerger extends Serializable {
* Merges two records with the same key in full outer merge fashion i.e. all fields from both records are included.
*/
default List<Pair<HoodieRecord, Schema>> fullOuterMerge(HoodieRecord older, Schema oldSchema, HoodieRecord newer, Schema newSchema, TypedProperties props) throws IOException {
- throw new UnsupportedOperationException("Partial merging logic is not implemented.");
+ throw new UnsupportedOperationException("Full outer merging logic is not implemented by " + this.getClass().getName());
}
/**