Skip to content

feat: Migrate aggregate merge functions#93

Open
lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:add-agg-function
Open

feat: Migrate aggregate merge functions#93
lxy-9602 wants to merge 1 commit into
apache:mainfrom
lxy-9602:add-agg-function

Conversation

@lxy-9602

Copy link
Copy Markdown
Contributor

Purpose

No Linked issue.

Migrate aggregate merge function implementations and tests under src/paimon/core/mergetree/compact/aggregate/.

Aggregate merge functions:

  • FieldAggregator and factory
  • AggregateMergeFunction
  • sum, min, max, listagg, bool and/or aggregators
  • first/last value and first/last non-null value aggregators
  • primary-key and ignore-retract aggregators

Internal dependencies are intentionally not migrated in this patch and will be handled in separate migration batches.

Tests

Migrated aggregate function tests, including factory, aggregate merge, sum, min/max, listagg, bool, first/last value, first/last non-null value, primary-key, and ignore-retract tests.

API and Format

Documentation

Generative AI tooling

Migrate-by: Codex

@lxy-9602

Copy link
Copy Markdown
Contributor Author

Thank you @duanyyyyyyy for contributing the aggregate merge function tests, and @Zouxxyy for the listagg aggregator — migrated as part of this batch. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant