-
Notifications
You must be signed in to change notification settings - Fork 12
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 a parquet writer using Rust and CXX for FFI #194
Open
the80srobot
wants to merge
12
commits into
northpolesec:main
Choose a base branch
from
the80srobot:parquet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
docs
Improvements or additions to documentation
comp/santad
Issues or PRs related to the daemon
size/m
Size: medium
size/l
Size: large
size/xl
Size: extra large
and removed
size/m
Size: medium
size/l
Size: large
labels
Dec 31, 2024
This should be most of what we need to have some packages written in Rust. It also manages to depend on the parquet2 Crate, and proves that the FFI works and Rust functions can be statically linked with objc++ code.
This adds a proper parquet writer in Rust. The CPP header is empty, and all the API is generated as a Cxx bridge from cpp_api.rs, which I find rather nice.
the80srobot
changed the title
DRAFT/WIP - Add parquet2 Rust crate for parquet output
Add parquet2 Rust crate for parquet output
Dec 31, 2024
the80srobot
changed the title
Add parquet2 Rust crate for parquet output
Add a parquet writer using Rust and CXX for FFI
Dec 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
comp/santad
Issues or PRs related to the daemon
docs
Improvements or additions to documentation
size/xl
Size: extra large
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a fairly MVP writer for Parquet files implemented in Rust and usable from C++. An actual Santa logger is just a stub, because this diff is already large. (And yet, I managed to shave off 1000 lines compared to my original PR from 2023.)
This XL PR could be split into one that adds Rust build support and one that adds the Parquet writer, but both of those things informed each other, so it actually seems easier to review them together. Sorry for the size, I won't make it a habit.
Some notes:
Test plan:
There is an e2e test shell script, which requires Docker.