Skip to content

Add missing aggregate functions#1471

Draft
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:feat/expose-agg-fns
Draft

Add missing aggregate functions#1471
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:feat/expose-agg-fns

Conversation

@timsaucer
Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #861
Closes #925
Closes #1454

Rationale for this change

These functions exist upstream but were not exposed to the Python API

What changes are included in this PR?

Expose functions to Python API
Add unit tests

Are there any user-facing changes?

New addition only.

…ation

Expose upstream DataFusion aggregate functions that were not yet
available in the Python API. Closes apache#1454.

- grouping: returns grouping set membership indicator (rewritten by
  the ResolveGroupingFunction analyzer rule before physical planning)
- percentile_cont: computes exact percentile using continuous
  interpolation (unlike approx_percentile_cont which uses t-digest)
- var_population: alias for var_pop

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant