apache / apache/paimon

[Feature] support user defined FieldAggregator

Open
#5,989 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Motivation

We are planning to migrate our business from Hudi to Paimon. Its partial field update mechanism greatly improves multi-stream merging jobs. Unfortunately, we use a custom payload for field merging, and Paimon does not have a similar extension mechanism.

### Solution

We hope that later versions could support custom aggregate function.

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading Paimon's partial field update and FieldAggregator implementation and trace how field merging is selected. Define the extension points and compatibility requirements for a user-defined aggregate function, then add coverage showing a custom merger is invoked during partial updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.