You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Y Ethan Guo (Jira)" <ji...@apache.org> on 2024/10/21 21:26:00 UTC

[jira] [Comment Edited] (HUDI-7678) Finalize the Merger APIs and make a plan for moving over all existing built-in, custom payloads.

    [ https://issues.apache.org/jira/browse/HUDI-7678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891668#comment-17891668 ] 

Y Ethan Guo edited comment on HUDI-7678 at 10/21/24 9:25 PM:
-------------------------------------------------------------

With HUDI-8203, we have made the new merge mode table config to rule the record merging behavior, and make sure that for OVERWRITE_WITH_LATEST and EVENT_TIME_ORDERING modes, the read path goes through the file group reader-based implementation.  There are a few places in the writer path that still use the merge API with existing merger implementation (without hooking up the file group reader).  This is OK for now as the merger implementation classes (e.g., DefaultSparkRecordMerger, OverwriteWithLatestSparkRecordMerger). The custom payload classes are still supported through Avro based merger implementation (HoodieAvroRecordMerger).  For Spark SQL (e.g., INSERT INTO, MERGE INTO, etc.) which uses custom payload classes, those logic can still work as is (see HUDI-8150 for more details) and we plan to migrate them in subsequent Hudi releases.


was (Author: JIRAUSER280684):
With HUDI-8203, we have made the new merge mode table config to rule the record merging behavior, and make sure that for OVERWRITE_WITH_LATEST and EVENT_TIME_ORDERING modes, the read path goes through the file group reader-based implementation.  There are a few places in the writer path that still use the merge API with existing merger implementation (without hooking up the file group reader).  This is OK for now as the merger implementation classes (e.g., DefaultSparkRecordMerger, OverwriteWithLatestSparkRecordMerger).

> Finalize the Merger APIs and make a plan for moving over all existing built-in, custom payloads.
> ------------------------------------------------------------------------------------------------
>
>                 Key: HUDI-7678
>                 URL: https://issues.apache.org/jira/browse/HUDI-7678
>             Project: Apache Hudi
>          Issue Type: Task
>            Reporter: Vinoth Chandar
>            Assignee: Y Ethan Guo
>            Priority: Blocker
>             Fix For: 1.0.0
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> This ticket is to make sure that in Hudi 1.0 all existing built-in and custom payload classes should still work, providing the same functionality as 0.x releases.  They can be realized through either the new record merge API implementation, or still the existing payload class implementation through retrofit.
> We'll fully migrate all exsiting payload logic to the new record merge implementation in HUDI-8401, i.e., with the move towards making partial updates a first class citizen, that does not need any special payloads/merges, we need to move the CDC payloads to all be transformers in Hudi Streamer and SQL write path. Along with migration instructions to users. 



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