forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for order sensitive
NTH_VALUE
aggregation, make reverse `AR…
…RAY_AGG` more efficient (apache#8841) * Initial commit * minor changes * Parse index argument * Move nth_value to array_agg * Initial implementation (with redundant data) * Add new test * Add reverse support * Add new slt tests * Add multi partition support * Minor changes * Minor changes * Add new aggregator to the proto * Remove redundant tests * Keep n entries in the state for nth value * Change implementation * Move nth value to its own file * Minor changes * minor changes * Review * Update comments * Use drain method to remove from the beginning. * Add reverse support, convert buffer to vecdeque * Minor changes * Minor changes * Review Part 2 * Review Part 3 * Add new_list from iter * Convert API to receive vecdeque * Receive mutable argument * Refactor merge implementation * Fix doctest --------- Co-authored-by: Mehmet Ozan Kabak <[email protected]>
- Loading branch information
1 parent
d2ff112
commit 8cf1abb
Showing
16 changed files
with
943 additions
and
240 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
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.