Closed PHILO-HE closed 1 year ago
Rebased the patch.
Refactored the code to put sort logic in a base abstract class for rank/row_number/lag/sort_sum. In the future, if we need to add more window function requiring sort, we just need to implement finish function to handle sorted partition for each group.
@jackylee-ch, please have a review and verification.
This patch is based on #1056. So we need rebase it after #1056 is merged.