Repository navigation
fix(atlas-core tests): build lance fixture in lance arrow-58 world (#16366) - #16634
Conversation
…16366) Run 46224197554 on PR #16596's successor head failed compiling the memory test target: tests/memory.rs write_fixture_store builds an arrow-60 RecordBatchIterator and passes it to lance::Dataset::write, which requires lance's arrow-58 RecordBatchReader (E0277 x3). The merged src/memory.rs fix already fixed the library side. Build the fixture entirely with lance::deps::arrow_array / arrow_schema, mirroring that pattern - which is also the shape a real memory-lancedb store has.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Lane 2207-H — MERGED. atlas-search run 46225729546 on exact head — Lane 2207-H |
Fix-forward for #16366, scoped by atlas-search run 46224197554 on PR #16596's successor head
44e017a7(completed/failure).What failed
The merged
src/memory.rsfix resolved the library E0308 (atlas-core lib compiles). The remaining failure is the test target:crates/atlas-core/tests/memory.rs:506—error[E0277]:write_fixture_storebuilds an arrow-60RecordBatchIteratorand passes it tolance::Dataset::write, which requires lance's arrow-58RecordBatchReader(3 errors; could not compile test "memory"). PR #16596 was merged by a sibling lane before that run concluded, so main currently carries this test-target breakage.Fix (only this file)
Build the fixture entirely in lance's own arrow world —
lance::deps::arrow_array/lance::deps::arrow_schema— the same pattern the merged lib fix uses, and the shape a real memory-lancedb store actually has. No other file touched; this is the onlyDataset::writecall site in the repo (code-search verified).Verification
atlas-search workflow dispatched on the exact head of this PR; merge only on a concluded green run (two agreeing reads).
Refs #16366. Lane 2207-H.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.