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

feat: partition results helper #2299

Merged
merged 34 commits into from
Dec 28, 2023
Merged

feat: partition results helper #2299

merged 34 commits into from
Dec 28, 2023

Conversation

tychoish
Copy link
Contributor

Adds partitioning (sharding) of result sets using the hashing method.

Implemented on top of #2298.

Closes #2220

statement error
select partition_results(16, 4, 4);

query B
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically there is no 'B'. Only 'I', 'R', and 'T'. For bools, I just use 'T'. I also don't think the types are actually checked, just that there's the correct number of them.

https://github.com/risinglightdb/sqllogictest-rs/blob/main/sqllogictest/src/column_type.rs#L11-L43

Base automatically changed from tycho/hashing-fnv-and-siphash to main December 28, 2023 18:43
@tychoish tychoish enabled auto-merge (squash) December 28, 2023 19:54
@tychoish tychoish merged commit ee4b440 into main Dec 28, 2023
13 checks passed
@tychoish tychoish deleted the tycho/workload-sharding branch December 28, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants