-
Notifications
You must be signed in to change notification settings - Fork 538
fix: patch for 1.0.3 #5758
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
fix: patch for 1.0.3 #5758
Conversation
We made some changes that cause the upper bound lose, tighten it to make it 15x faster
…e-format#5736) We have a performance issue when `LANCE_MEM_POOL_SIZE`: when this is set (to something different than the default), the current cache always misses here: https://github.com/lance-format/lance/blob/445dd5bfe7b0111fd8e146163393e825e5995679/rust/lance-datafusion/src/exec.rs#L398-L410 - Replace static `LazyLock` session contexts with LRU cache (size 4) - Cache key uses resolved configuration values (after env var lookup) - Fixes cache misses when `LANCE_MEM_POOL_SIZE` env var is set - [x] `cargo test -p lance-datafusion` passes - [x] `cargo clippy -p lance-datafusion` passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
PR Review: Patch for 1.0.3This patch PR bundles several important fixes for the release/v1.0 branch. After reviewing the key changes, here is my assessment: SummaryThe PR consolidates fixes from:
Review FindingsNo P0/P1 issues identified. The implementation looks solid overall. A few observations: Session Context Cache (lance-datafusion/src/exec.rs)
WAND Block Score Upper Bound (lance-index/src/scalar/inverted/wand.rs)
StorageOptionsAccessor (lance-io/src/object_store/storage_options.rs)
Credential Vending (lance-namespace-impls/src/credentials/)
Minor Observations (Not blocking)
Recommendation: Approve for merge to release/v1.0.3 |
771f5e0 to
0e03e35
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Applies fixes for: 1. cargo-deny: add ignores for RUSTSEC-2025-0141 (bincode) and RUSTSEC-2026-0002 (lru) 2. torch.jit.script deprecation: migrate to torch.compile, add MSVC setup for Windows, add filterwarnings for PyTorch inductor 3. Java CI out of disk space: use warp-ubuntu-latest-x64-4x runner 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…rmat#5457) Related to refactorings in the namespace spec: lancedb/sophon#4783 and lance-format/lance-namespace#278 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…t#5566) This PR introduces the credentials vending feature to the namespace impl, allowing us to vend credentials if we run directory namespace, or run it as backend for rest namespace. This would allow us to fully test the credentials vending code path end to end. The actual vending logic mainly consults the same feature implemented in Apache Polaris. The support covers aws, gcp and azure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ance-format#5611) Combined patches for upgrading lance-namespace. Changes from 0.4.0 (lance-format#5568): 1. Introduced full error handling spec, update rust interface to implement the spec, and also dir and rest implementations in rust, python, java based on it 2. Fixed that `create_empty_table` is deprecated and `declare_table` is introduced. 3. Added `deregister_table` support for dir namespace (without manifest) Changes from 0.4.5 (lance-format#5611): 1. Use `Default::default()` for constructing request and response models 2. Leverage newly added identity to cache vended credentials 3. Support newly added `load_detailed_metadata` and `vend_credentials` flags in requests Also made ToSnafuLocation trait public to fix compilation on release branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This feature is similar to lancedb HeaderProvider, but implemented in a more generic way. In lance-namespace 0.4.5, we introduced per-request context which is a free-form map that can be passed in, and processed by different implementations differently. Based on that, we add a `DynamicContextProvider`. Then specifically for `RestNamespace`, we define that any context starting with `headers.` will be translated to a request level header. Because of the requirement to dynamically inject per-request headers, we also moved to use raw reqwest client now for all HTTP requests in RestNamespace. Adapted for release branch by using Python::with_gil instead of Python::attach (pyo3 0.25 vs 0.26). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
545a7ec to
5b559ce
Compare
|
All tests passing now except for known flaky tests. Merging |
This PR adds the following main patches:
The later 2 required a few additional PRs that built up to those, so also added to this patch PR since it would be too complicated to only cherry-pick those 2.