mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 20:44:00 +00:00
BREAKING CHANGE: Rust callers constructing `lancedb::function::FunctionOutput` with a struct literal now supply `blob_writer_paths`. Use `Vec::new()` for an output without writer-capable fields. LanceDB Functions that generate large Blob v2 values can declare their output with `BlobWriter` and write chunks during a computed column refresh in a compatible LanceDB Enterprise environment. Row-wise and vectorized callables use the same logical Blob schema. Named and nested outputs can mark specific leaves with `BlobWriter.field` while retaining ordinary binary siblings and nullable fields. The SDK preserves writer requirements through native registration and computed column binding. A distinct output kind lets earlier Enterprise versions reject registrations that require a writer. Existing bytes-only registrations retain their wire format and adapter. On SDK commit [`a19e7b87`](https://github.com/lancedb/lancedb/commit/a19e7b873c36aec865f092a368760be8846233ed), a rebuilt extension preserved nested writer paths through Flight SQL registration and version readback. Enterprise 1.14.1 rejected the writer registration before building the Function image. With the compatible runtime candidate, a real Flight SQL refresh published a 2 GiB + 137 byte value in each Blob layout against Moto. Independent reads verified length and SHA-256 before and after cleanup of an older version. The run also confirmed multipart abort and cumulative descriptor accounting. [Runtime evidence](https://linear.app/lancedb/issue/ENT-4209#comment-26e69e0e-faad-4aac-b148-3f4591181182) · [Descriptor accounting](https://linear.app/lancedb/issue/ENT-4209#comment-4d05e27a-8ff2-4003-804a-8af2f29ce2f4) This SDK change is part of the coordinated Enterprise delivery. [ENT-4209](https://linear.app/lancedb/issue/ENT-4209)