Lin Liu created HUDI-9715:
-----------------------------
Summary: Fix deletion related gaps
Key: HUDI-9715
URL: https://issues.apache.org/jira/browse/HUDI-9715
Project: Apache Hudi
Issue Type: Sub-task
Reporter: Lin Liu
Fix For: 1.1.0
Based on Danny's suggestion, we may need to fix the follow issues:
# fix the {{RecordContext.constructHoodieRecord}} to pass the ordering value
from buffered record into the {{HoodieEmptyRecord}} for all engines;
# fix all the mergers merging logic: check whether there is delete records
among old/new hoodie records, if there is, compare the ordering value of the
record directly and returns;
# for payload based merging, fix {{HoodieAvroRecordMerger}} and
{{HoodiePreCombineAvroRecordMerger}} to take the same strategy as 2 for the two
inputs hoodie records.
we also need to add out of order deletes tests for 2 and 3 to validate the
function works.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)