Skip to content

feat: add Dataset::with_object_store for request-scoped store overrides#5966

Merged
wjones127 merged 1 commit intolance-format:mainfrom
wkalt:task/dataset-with-objectstore
Feb 18, 2026
Merged

feat: add Dataset::with_object_store for request-scoped store overrides#5966
wjones127 merged 1 commit intolance-format:mainfrom
wkalt:task/dataset-with-objectstore

Conversation

@wkalt
Copy link
Copy Markdown
Contributor

@wkalt wkalt commented Feb 18, 2026

Add Dataset::with_object_store so callers can clone a dataset bound to a caller-supplied ObjectStore. This is useful for tracking metrics on a per-request basis.

For example, if you have an object store wrapper that performs caching, you can create a freshly wrapped object store for each use of the dataset in order to collect per-request hit/miss tallies.

Add Dataset::with_object_store so callers can clone a dataset bound to a
caller-supplied ObjectStore. This is useful for tracking metrics on a
per-request basis.

For example, if you have an object store wrapper that performs caching,
you can create a freshly wrapped object store for each use of the
dataset in order to collect per-request hit/miss tallies.
@github-actions github-actions Bot added the enhancement New feature or request label Feb 18, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance/src/dataset.rs 91.66% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@wjones127 wjones127 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 to me!

@wjones127 wjones127 merged commit af84ea1 into lance-format:main Feb 18, 2026
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants