Skip to content

Conversation

@rtyler
Copy link
Member

@rtyler rtyler commented Dec 2, 2025

💣 💥

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate delta-inspect labels Dec 2, 2025
@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

❌ Patch coverage is 79.91498% with 189 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.47%. Comparing base (26e2b42) to head (07e5913).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/kernel/models/actions.rs 0.00% 18 Missing ⚠️
python/src/lib.rs 0.00% 15 Missing ⚠️
crates/core/src/lib.rs 84.84% 0 Missing and 10 partials ⚠️
crates/azure/src/config.rs 0.00% 9 Missing ⚠️
crates/lakefs/src/logstore.rs 65.21% 6 Missing and 2 partials ⚠️
crates/core/src/kernel/schema/cast/merge_schema.rs 0.00% 7 Missing ⚠️
crates/core/src/operations/write/mod.rs 68.18% 4 Missing and 3 partials ⚠️
crates/test/src/read.rs 76.66% 0 Missing and 7 partials ⚠️
crates/aws/src/lib.rs 0.00% 6 Missing ⚠️
crates/aws/src/storage.rs 0.00% 6 Missing ⚠️
... and 42 more
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rtyler rtyler force-pushed the next-version-three-zero branch 2 times, most recently from 8c9e6e6 to b5e4cd0 Compare December 2, 2025 14:49
Copy link
Collaborator

@roeap roeap left a 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> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is this?

Copy link
Member Author

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.

For example

Copy link
Collaborator

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.

@rtyler rtyler force-pushed the next-version-three-zero branch 2 times, most recently from 059834e to 659b756 Compare December 3, 2025 15:59
@corwinjoy
Copy link
Contributor

Cool! If you need my help I can rerun somthing like this PR to remove the other clippy warnings.
#3940

@rtyler rtyler force-pushed the next-version-three-zero branch from 659b756 to 6740f2f Compare December 5, 2025 15:26
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 5, 2025
@rtyler rtyler force-pushed the next-version-three-zero branch from 6740f2f to 32502f7 Compare December 9, 2025 13:35
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]>
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]>
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]>
@rtyler rtyler force-pushed the next-version-three-zero branch from 32502f7 to 07e5913 Compare December 12, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binding/python Issues for the Python package binding/rust Issues for the Rust crate delta-inspect documentation Improvements or additions to documentation

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants