Skip to content

Conversation

@ariesdevil
Copy link
Contributor

@ariesdevil ariesdevil commented Apr 8, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Support window function in order by clause, eg:

select a, sum(a) over (partition by a) from t1 order by count() over (partition by a);
select a, sum(a) over w from t1 window w as (partition by a) order by count() over w desc;

Tracking: #10810

@vercel
Copy link

vercel bot commented Apr 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
databend ⬜️ Ignored (Inspect) Visit Preview Apr 10, 2023 5:41am

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Apr 8, 2023
@ariesdevil ariesdevil mentioned this pull request Apr 8, 2023
15 tasks
@ariesdevil ariesdevil marked this pull request as ready for review April 8, 2023 16:53
@mergify mergify bot merged commit 434fe3d into databendlabs:main Apr 10, 2023
@ariesdevil ariesdevil deleted the window-function branch April 10, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants