-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[ENH]: add Rust SQLite impl of log #3577
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
5908925
to
03ce145
Compare
a9ccc20
to
e5b3a38
Compare
03ce145
to
967bc92
Compare
e5b3a38
to
0d7ffbc
Compare
0d7ffbc
to
eff727f
Compare
967bc92
to
46373db
Compare
eff727f
to
206fb61
Compare
46373db
to
3c3c539
Compare
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.
Partial review as it looks like there's some TODOs left.
InvalidEmbedding(bytemuck::PodCastError), | ||
#[error("Failed to parse metadata: {0}")] | ||
InvalidMetadata(#[from] serde_json::Error), | ||
} |
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.
Do we want to embed types like bytemuck, sqlx, and serde_json? They aren't serializable. Errors might be nice to have go across the network.
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.
good point
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.
thought about this a bit more and I'm not sure how applicable this is since many of our current errors aren't serializable either
however they all have .to_string()
which is trivial to serialize
48d298e
to
86bb7d3
Compare
5406e83
to
0b5f332
Compare
0b5f332
to
57a736b
Compare
} | ||
|
||
#[cfg(test)] | ||
mod tests { |
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.
todo: need to fix tests once we can run migrations from Rust
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?