This is an automated email from the ASF dual-hosted git repository.
zhangyue19921010 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 93b4da301d1 [MINOR]Fix typo and Add implementation class name in
interface method of HoodieRecordMerger (#13059)
93b4da301d1 is described below
commit 93b4da301d12b4a2d66787d80ce3071876aaad22
Author: wangyinsheng <[email protected]>
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 <[email protected]>
---
.../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());
}
/**