Skip to content

Conversation

@nk2IsHere
Copy link

GitHub issue resolved: #5626

Briefly describe the changes proposed in this PR:

This PR adds support for custom aggregate functions with multiple arguments. It adds new factory and type for it (CustomAggregateNAryFunctionRegistry, AggregateNArgFunction) and extends SPARQL parser to support such functions. As a consequence, minor changes to AggregateFunctionCall were done too with addition of AbstractNAryAggregateOperator. I've tried to introduce no breaking changes and only extend the support as an opt-in feature.


PR Author Checklist (see the contributor guidelines for more details):

  • my pull request is self-contained
  • I've added tests for the changes I made
  • I've applied code formatting (you can use mvn process-resources to format from the command line)
  • I've squashed my commits where necessary
  • every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@hmottestad hmottestad changed the base branch from main to develop December 18, 2025 18:53
@hmottestad
Copy link
Contributor

I moved this to target develop. I believe the conflicts are my fault.

@nk2IsHere nk2IsHere force-pushed the GH-5626-custom-aggregate-extension branch from 7422e3f to 3fb90d8 Compare December 19, 2025 12:38
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.

Support for positioned additional parameters in custom aggregation functions

2 participants