lxy-9602 opened a new pull request, #83: URL: https://github.com/apache/paimon-cpp/pull/83
<!-- Please specify the module before the PR name: feat: ... or fix: ... --> ### Purpose <!-- Linking this pull request to the issue --> No Linked issue. Migrate merge function implementations and tests under `src/paimon/core/mergetree/compact/`: Merge function interfaces and implementations: - `DeduplicateMergeFunction` — keeps the latest row for the same key (`deduplicate_merge_function.h`) - `FirstRowMergeFunction` — keeps the first row for the same key (`first_row_merge_function.h`) - `FirstRowMergeFunctionWrapper` — wraps first-row merge behavior with retract handling (`first_row_merge_function_wrapper.h`) - `ReducerMergeFunctionWrapper` — wraps reducer-style merge functions (`reducer_merge_function_wrapper.h`) - `LookupMergeFunction` — merge function for lookup-based merge tree reads (`lookup_merge_function.h`) - `LookupChangelogMergeFunctionWrapper` — produces changelog rows for lookup merge functions (`lookup_changelog_merge_function_wrapper.h`) - `PartialUpdateMergeFunction` — supports partial-update merge semantics (`partial_update_merge_function.h/cpp`) <!-- What is the purpose of the change --> ### Tests - `deduplicate_merge_function_test.cpp` — deduplicate merge behavior - `first_row_merge_function_test.cpp` — first-row merge behavior - `first_row_merge_function_wrapper_test.cpp` — first-row wrapper behavior - `reducer_merge_function_wrapper_test.cpp` — reducer wrapper behavior - `lookup_merge_function_test.cpp` — lookup merge behavior - `lookup_changelog_merge_function_wrapper_test.cpp` — lookup changelog wrapper behavior - `partial_update_merge_function_test.cpp` — partial-update merge behavior <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Does this change affect API in include dir or storage format or protocol --> ### Documentation <!-- Does this change introduce a new feature --> ### Generative AI tooling Migrate-by: Codex <!-- If generative AI tooling has been used in the process of authoring this patch, please include the phrase: 'Generated-by: ' followed by the name of the tool and its version. If no, write 'No'. Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
