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

Add learned index (RadixSpline) Rust bindings #511

Merged
merged 13 commits into from
Sep 11, 2024
Merged

Add learned index (RadixSpline) Rust bindings #511

merged 13 commits into from
Sep 11, 2024

Conversation

xingalbert
Copy link
Collaborator

Add end to end tpch benchmarking code
add build script that compiles and links c++ radixspline library
add safe rust module for running radixspline

Note: may need to manually delete radixspline.o and libradixspline.a from sandbox/qe/RadixSplineLib to force recompilation when changes are made to the C++ radixspline code.

@xingalbert xingalbert requested a review from geoffxy May 15, 2024 07:10
Copy link
Member

@geoffxy geoffxy left a comment

Choose a reason for hiding this comment

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

Looks good - thanks @xingalbert! Please take a look at and address the comments before squash merging.

Please also

  • Add a newline to the end of each file - it looks like your editor was omitting them from each file
  • Run black on the Python files in tpch (pip3 install black and then black path/to/file.py) before merging

sandbox/qe/Cargo.toml Outdated Show resolved Hide resolved
sandbox/qe/RadixSplineLib/radixspline.cpp Outdated Show resolved Hide resolved
sandbox/qe/RadixSplineLib/radixspline.hpp Outdated Show resolved Hide resolved
sandbox/qe/build.rs Outdated Show resolved Hide resolved
sandbox/qe/build.rs Outdated Show resolved Hide resolved
@geoffxy geoffxy changed the title Learned index Add learned index (RadixSpline) Rust bindings Sep 11, 2024
@geoffxy geoffxy merged commit d9c8ec6 into main Sep 11, 2024
1 check passed
@geoffxy geoffxy deleted the learned-index branch September 11, 2024 20:52
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.

2 participants