-
Notifications
You must be signed in to change notification settings - Fork 757
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(function): change retention return type from Variant to Array<T> #5302
Conversation
Thanks for the contribution! Please review the labels and make any necessary changes. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Here is the ClickHouse performance of
Performance:
|
Got it. I will compare our performance with ck. |
Have tested this PR:
|
I have optimized the implementation just now. The performance can decrease from 3 seconds to 2.4 seconds in my machine. But it still has a gap with ck. The reason should be that the cardinal number is too high, but we haven't use the parallel merge. |
With the new patch, the performance(5.760 to 4.226):
|
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Now the get method of Array is supported.
We can change the return type of retention function from Variant to Array.
Changelog
Related Issues
Fixes #5226