-
Notifications
You must be signed in to change notification settings - Fork 795
refactor: Mutil Column Aggregate Function State Serialization Interface #18398
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
Conversation
tests/sqllogictests/suites/ee/02_ee_aggregating_index/02_0001_agg_index_projected_scan.test
Outdated
Show resolved
Hide resolved
src/query/functions/src/aggregates/adaptors/aggregate_null_adaptor.rs
Outdated
Show resolved
Hide resolved
src/query/functions/src/aggregates/adaptors/aggregate_null_adaptor.rs
Outdated
Show resolved
Hide resolved
Do you have any performance test results for the agg state serialized size and query latency? |
Waiting to add. But optimization for each function is the next step, and the interface is refactored here first. |
Docker Image for PR
|
Docker Image for PR
|
b3ea7a9
to
0078deb
Compare
Docker Image for PR
|
1 similar comment
Docker Image for PR
|
benchmark: sql
1.2.778
pr
|
👍 |
checksb test passed! |
Databend Query Performance ComparisonQuery: Results Summary
Key Differences
Execution PlansThis PR (2m 50s)
Main (3m 3s)
|
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Serializing the Aggregate Function State into multiple columns instead of a single binary column helps to reduce the size of the serialization and reduce io.
break change: aggregate index must rebuild handly
Tests
Type of change
This change is