-
Notifications
You must be signed in to change notification settings - Fork 411
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
Common: support bitpacking #8969
Conversation
contrib/fastpforlib/bitpacking.cpp
Outdated
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.
why copying the files rather than adding them as submodule? It may bring trouble when we want to update the version of fastpfor
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.
Using https://github.com/lemire/FastPFor to support Bit-Packing encoding. But it only supports 32bits and 64 bits.
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.
https://github.com/powturbo/TurboPFor-Integer-Compression is the best, but it is GPL
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.
Can we use the bitpacking in FastPFor? https://github.com/lemire/FastPFor/blob/master/headers/blockpacking.h
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.
It only supports 32bits.
Signed-off-by: Lloyd-Pottiger <[email protected]>
a1251bd
to
64deccb
Compare
Co-authored-by: jinhelin <[email protected]>
1d4016c
to
31fab1c
Compare
Signed-off-by: Lloyd-Pottiger <[email protected]>
Use minmax_element
Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
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.
lgtm
Signed-off-by: Lloyd-Pottiger <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CalvinNeo, JinheLin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/run-all-tests |
What problem does this PR solve?
Issue Number: ref #8789
Problem Summary:
What is changed and how it works?
Using https://github.com/lemire/FastPFor to support Bit-Packing encoding. But it only supports 32bits and 64 bits, so most of the codes come from https://github.com/duckdb/duckdb/tree/main/third_party/fastpforlib
Part of #8903
Check List
Tests
Side effects
Documentation
Release note