#4299·lancedb

bug: blobColumns() reports list<blob> element paths that fetchBlobs can't read

Author: wjones127Created Sep 23, 2026Updated Sep 23, 2026
Labelsbug

For a column that is a list of blobs, blobColumns() reports the element path, but neither the column nor that path can be fetched:

typescript
const schema = new Schema([
  new Field("id", new Int64()),
  new Field("imgs", new List(lancedb.blob("item")), true),
]);
const t = await db.createEmptyTable("lists", schema);
await t.add([{ id: 1n, imgs: [bytes1, bytes2] }]);

await t.blobColumns();                 // ["imgs.item"]
await t.fetchBlobs("imgs", [rowId]);   // Invalid input, column 'imgs' is not a blob column
await t.fetchBlobs("imgs.item", [rowId]);
// Invalid input, Blob column path 'imgs.item' expected struct before segment 'item' but got List(Struct("kind": ...

Same on local and remote tables (@lancedb/[email protected]). Writing works, and the descriptors come back from queries, but there's no API to read the bytes.

Row ids address rows, not list elements, so fetchBlobs(column, rowIds) can't express "element 2 of row 7". Two ways to close this:

  1. Support it. Add an element index to the fetch API (for example fetchBlobs("imgs.item", [{ rowId, index }])), or return a list of buffers per row.
  2. Stop advertising it. Leave imgs.item out of blobColumns(), reject the path with a clear "blobs inside lists can't be fetched yet" error, and document the limitation.

Right now the API reports a blob column that no API can read, and the error for trying is an internal type mismatch.