Hex package · Documentation
Removed (Breaking)
- Remove write support for Lance's obsolete
"legacy" (0.1) storage format.
data_storage_version now accepts only :stable, :next, "2.0", "2.1",
"2.2", and "2.3" ("legacy" raises ArgumentError). Legacy storage
version overrides in storage_options and writes into externally opened
0.1 tables return {:error, %LanceDB.Error{kind: :unsupported}}; existing
0.1 tables remain readable.
Fixed
- Preserve destination table schema metadata when overwriting via single-batch
Table.add(table, Source.batches([batch]), mode: :overwrite).
- Guard float-narrowing
SchemaEvolution.alter_columns/2 casts (such as
float64 -> float32/float16, float32 -> float16, wide integer/decimal to
float16, and nested container casts) against overflowing finite values to
non-finite Infinity before committing.
- Capture
History.restore/2 commit versions directly from the restore
transaction rather than re-reading branch HEAD, preventing races with
concurrent writers.
- Decode
lance.json columns to arrow.json UTF-8 consistently on typed
float16/float64 vector queries so Query.schema/1,
Query.stream_batches/2, and hybrid fusion agree.
- Allow
:large_string (LargeUtf8) join keys in Table.upsert/3 and
Table.merge/3.
- Preserve row count when a final query projection has zero output columns
(for example hybrid search with columns: [:_rowid], with_row_id: false,
and disable_scoring_autoprojection: true).
Source