-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: Support distinct window for sum #16943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support distinct window for sum #16943
Conversation
|
We added the new feature for support distinct operation for window, and added count support already. FYI @crepererum @alamb , this is the follow-up for |
| ) AS distinct_count | ||
| FROM table_test_distinct_count | ||
| ODER BY k, time; | ||
| ORDER BY k, time; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor, this is fix the typo here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context: This came from #16887 and @zhuqi-lucas spotted my mistake in #16888.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @crepererum for quick review!
| 07)------------DataSourceExec: partitions=2, partition_sizes=[5, 4] | ||
|
|
||
|
|
||
| # Add testing for distinct sum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the corresponding slt testing for this PR.
|
Same as the count, i will try to improve the performance as follow-ups, but it will after my PRs for the missing features. |
* feat: support sum distinct for window * fmt * fmt * fix test
Which issue does this PR close?
We added the new feature for support distinct operation for window, and added count support.
This PR is to add sum support.
Rationale for this change
We added the new feature for support distinct operation for window, and added count support.
This PR is to add sum support.
Also fix the typo in window.slt.
What changes are included in this PR?
Are these changes tested?
Yes, slt testing added.
Are there any user-facing changes?
New sum distinct feature supported.