-
Notifications
You must be signed in to change notification settings - Fork 587
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(expr): support shuffle approx_percentile #17814
Conversation
2bcee12
to
a74fa70
Compare
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.
Generally LGTM!
Re: Cargo-lock I added |
-982.5779489474152 -804.4614206837127 0 804.4614206837127 982.5779489474152 | ||
|
||
# Test state encode / decode | ||
onlyif can-use-recover |
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.
In which cases we will set label can-use-recover
?
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.
Only for e2e tests.
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.
recover
should not be used in cases where tests can execute in parallel.
Co-authored-by: Richard Chien <stdrc@outlook.com>
If LGTY could you leave a review on behalf of cargo-lock? @stdrc |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As per title. This is the unoptimized version which just uses a single datum to encode the state per group key.
We also just keep the entire state in-memory, rather than cache part of it.
For shuffle approx_percentile, we can just support it as part of the agg framework.
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
See #17873