Skip to content
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

Support 2-stage hash group-by #294

Closed
4 tasks done
BohuTANG opened this issue Apr 12, 2021 · 0 comments
Closed
4 tasks done

Support 2-stage hash group-by #294

BohuTANG opened this issue Apr 12, 2021 · 0 comments
Assignees
Labels
A-query Area: databend query C-feature Category: feature prio: high High priority

Comments

@BohuTANG
Copy link
Member

BohuTANG commented Apr 12, 2021

Summary

To support hash group by, impl in 2 stages,:

  • Partial hash group by

    • create groups
    • aggregate the values based on groups
    • accumulate the aggregate result to partial state
  • Final hash group by

    • accumulate the partial state to final state
@BohuTANG BohuTANG added C-feature Category: feature prio: high High priority A-query Area: databend query labels Apr 12, 2021
@BohuTANG BohuTANG self-assigned this Apr 12, 2021
@BohuTANG BohuTANG mentioned this issue Apr 12, 2021
@BohuTANG BohuTANG changed the title Support 2-stages hash group-by Support 2-stage hash group-by Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query C-feature Category: feature prio: high High priority
Projects
None yet
Development

No branches or pull requests

1 participant