apache / apache/fluss

[Aggregation] Add collect/merge_map aggregation support

Open
#2,387 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
625
Avg merge
3d 14h
Merged PRs (30d)
97

Description

### Search before asking

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

### Description

- Add COLLECT and MERGE_MAP aggregation functions with distinct handling and map/array merge logic.
- Align aggregation output encoding with KV row format.
- Update docs and extend tests for new aggregation behavior.

### Willingness to contribute

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the existing aggregation implementation, output encoding, documentation, and aggregation tests first. Implement COLLECT and MERGE_MAP with distinct handling, map/array merge behavior, and KV row-compatible encoding; update the docs and extend tests to demonstrate the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data, stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.