You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2023/01/31 22:40:00 UTC
[jira] [Closed] (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 ]
Raymond Xu closed HUDI-5624.
----------------------------
Fix Version/s: 0.13.0
Resolution: Fixed
> 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
> Labels: pull-request-available
> Fix For: 0.13.0
>
>
> 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)