Skip to content

Conversation

AdamGS
Copy link
Owner

@AdamGS AdamGS commented Oct 2, 2025

Which issue does this PR close?

Rationale for this change

Backports initial support for decimal 32/64 to the 50.x branch

What changes are included in this PR?

See original PR:

  • Multiple aggregation functions
  • Some decimal type coercion

Are these changes tested?

Includes some tests and reinforced by SLT. Follow up PR contains more tests.

Are there any user-facing changes?

No

Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
@alamb
Copy link

alamb commented Oct 3, 2025

This PR seems to target a different branch, not branch-50 🤔

* chore: mv `DistinctSumAccumulator` to common

* feat: add avg distinct support for float64 type

* chore: fmt

* refactor: update import for DataType in Float64DistinctAvgAccumulator and remove unused sum_distinct module

* feat: add avg distinct support for float64 type

* feat: add avg distinct support for decimal

* feat: more test for avg distinct in rust api

* Remove DataFrame API tests for avg(distinct)

* Remove proto test

* Fix merge errors

* Refactoring

* Minor cleanup

* Decimal slt tests for avg(distinct)

* Fix state_fields for decimal distinct avg

---------

Co-authored-by: Jeffrey Vo <jeffrey.vo.australia@gmail.com>
Co-authored-by: YuNing Chen <admin@ynchen.me>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Dmitrii Blaginin <dmitrii@blaginin.me>
@AdamGS
Copy link
Owner Author

AdamGS commented Oct 3, 2025

I think that was one of the branches of other features I was backporting, I'll rebase it now.

* Support Decimal32/64 types

* Fix bugs, tests, handle more aggregate functions and schema

* Fill out more parts in expr,common and expr-common

* Some stragglers and overlooked corners

* Actually commit the avg_distinct support

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
@AdamGS
Copy link
Owner Author

AdamGS commented Oct 3, 2025

Closed in favor of apache#17907

@AdamGS AdamGS closed this Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants