Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-1120] Support sum window function with order by statement #1122

Merged
merged 11 commits into from
Oct 17, 2022

Conversation

PHILO-HE
Copy link
Collaborator

This patch is based on #1056. So we need rebase it after #1056 is merged.

@github-actions
Copy link

#1120

@PHILO-HE
Copy link
Collaborator Author

Rebased the patch.

@PHILO-HE
Copy link
Collaborator Author

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.

@PHILO-HE
Copy link
Collaborator Author

@jackylee-ch, please have a review and verification.

@zhouyuan zhouyuan merged commit e143acb into oap-project:main Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants