-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#13681) * draft of `MedianGroupAccumulator`. * impl `state`. * impl rest methods of `MedianGroupsAccumulator`. * improve comments. * use `MedianGroupsAccumulator`. * remove unused import. * add `group_median_table` to test group median. * complete group median test cases in aggregate slt. * fix type of state. * Clippy * Fmt * add fuzzy tests for median. * fix decimal. * fix clippy. * improve comments. * add median cases with nulls. * Update datafusion/functions-aggregate/src/median.rs Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org> * use `OffsetBuffer::new_unchecked` in `convert_to_state`. * add todo. * remove assert and switch to i32 try from. * return error when try from failed. --------- Co-authored-by: Daniël Heres <danielheres@gmail.com> Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
- Loading branch information
1 parent
11435de
commit 53728b3
Showing
3 changed files
with
541 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.