[ 
https://issues.apache.org/jira/browse/HUDI-5624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Scheller updated HUDI-5624:
-----------------------------------
    Description: 
HoodieAvroRecordMerger which exists to provide backwards compatibility for 
"precombine" and "combineAndGetUpdateValue" does not use the updated precombine 
API and currently uses the deprecated one. This causes issues for certain 
payloads. 

[https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java#L75]

 

Deprecated precombine API:

https://github.com/apache/hudi/blob/45da30dc3ecfd4e7315d8f33d95504a5ac7cbd1a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordPayload.java#L44

  was:
HoodieAvroRecordMerger which exists to provide backwards compatibility for 
"precombine" and "combineAndGetUpdateValue" does not use the updated precombine 
API and currently uses the deprecated one. This causes issues for certain 
payloads. 

https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java#L75


> Fix HoodieAvroRecordMerger to use new precombine API
> ----------------------------------------------------
>
>                 Key: HUDI-5624
>                 URL: https://issues.apache.org/jira/browse/HUDI-5624
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Brandon Scheller
>            Priority: Major
>
> HoodieAvroRecordMerger which exists to provide backwards compatibility for 
> "precombine" and "combineAndGetUpdateValue" does not use the updated 
> precombine API and currently uses the deprecated one. This causes issues for 
> certain payloads. 
> [https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecordMerger.java#L75]
>  
> Deprecated precombine API:
> https://github.com/apache/hudi/blob/45da30dc3ecfd4e7315d8f33d95504a5ac7cbd1a/hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecordPayload.java#L44



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to