-
Notifications
You must be signed in to change notification settings - Fork 214
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(storage): support dict encoding #668
Conversation
Signed-off-by: kikkon <nian920@outlook.com>
Signed-off-by: kikkon <nian920@outlook.com>
I think I got into trouble in this pr. I used a HashMap to implement the dict encoding, but in primitive_column_builder, I can't implement eq trait for f64. |
Yes, I'd be totally agree on that! We'd better change all f64 occurrences in RisingLight to use ordered_float. I guess it would be a large refactor, so we can simply ignore float for now, and support it later. |
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.
Rest LGTM, good work!
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.
Rest LGTM! For the next step, we can see if dict encoding can help us save space for TPC-H workloads.
Also we can consider using dict encoding when |
Signed-off-by: kikkon <nian920@outlook.com>
Signed-off-by: kikkon nian920@outlook.com
Close #639