-
Notifications
You must be signed in to change notification settings - Fork 556
chore: removing APIs and deprecation warnings: 0.30.x here we come #3962
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3962 +/- ##
===========================================
+ Coverage 26.22% 71.47% +45.24%
===========================================
Files 124 152 +28
Lines 19886 39157 +19271
Branches 19886 39157 +19271
===========================================
+ Hits 5216 27988 +22772
+ Misses 14300 9889 -4411
- Partials 370 1280 +910 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8c9e6e6 to
b5e4cd0
Compare
roeap
left a comment
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.
first pass over pushed changes. Just one question.
we need some more clippy, but awesome to get rid of some of this.
| &self, | ||
| limit: Option<usize>, | ||
| ) -> Result<impl Iterator<Item = CommitInfo>, DeltaTableError> { | ||
| ) -> Result<impl Iterator<Item = CommitInfo> + use<>, DeltaTableError> { |
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.
what is this?
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.
@roeap there's a change in Rust 2024 edition to how strict it considers impl Trait lifetimes.
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's for defining the captured lifetimes of traits. In this case if you have an associated lifetime here (not '_) use<> captures that. It's just more well defined on what lifetimes are involved in the return type vs. other borrows in the call.
059834e to
659b756
Compare
|
Cool! If you need my help I can rerun somthing like this PR to remove the other clippy warnings. |
659b756 to
6740f2f
Compare
6740f2f to
32502f7
Compare
Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
When using LogStoreConfig it is possible to pass a Url which does allow for safe `join()` operations inside of delta-kernel-rs. This change ensures that we always have a trailing slash before passing things off into kernel Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
This is almost entirely formatting changes, which is a _wee_ bit annoying. There were no practical code changes required however. Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
Every trailing slashes cause all sorts of subtle equivalency confusion when we do things with a Url. It's better for us to normalize everything to always have a trailing slash which makes it easier to join with, and do other things. Signed-off-by: R. Tyler Croy <[email protected]>
In this commit I am intentionally introducing the convention in our Rust
APIs:
* anything named `uri` is expected to take a `AsRef<str>` type which
is expected to turn into a `Url`
* anything named `url` is expected to take a `Url` type.
As such I have renamed a number of our APIs which previously had been
converted to use `Url` but were referring to them as `uri`
Signed-off-by: R. Tyler Croy <[email protected]>
This is a hilariously invasive change insofar that we have URL-like strings leaking out all over the place in our codebase. This channge attempts to wrangle as much of that together as possible and has test API changes which support the preceeding commit where _uri functions become _url Signed-off-by: R. Tyler Croy <[email protected]>
32502f7 to
07e5913
Compare
💣 💥