You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Brandon Scheller (Jira)" <ji...@apache.org> on 2023/01/26 22:42:00 UTC

[jira] [Updated] (HUDI-5624) Fix HoodieAvroRecordMerger to use new precombine API

     [ 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)