Skip to content

v15.0.0-beta.26

Pre-release
Pre-release

Choose a tag to compare

@lance-community lance-community released this 22 Nov 09:33
· 17 commits to main since this release

What's Changed

Breaking Changes 🛠

  • feat(transaction): implement the Transaction V2 action vocabulary by @wjones127 in #8644
  • feat(transaction): implement the index management actions by @wjones127 in #8645
  • feat(transaction): implement the remaining drafted actions by @wjones127 in #8646
  • feat(format)!: add local_fragment_aliases to IndexMetadata by @geruh in #10780
  • feat(index): support distributed optimize for MinHash LSH by @ddupg in #10884
  • feat(index)!: select IVF_HNSW_RQ graph scoring per query, default to full multi-bit by @jzheng106 in #10910
  • fix(mem_wal): bound Python writer input buffering by @lance-gatefixer[bot] in #11228

Critical Fixes ‼️

  • fix: read full-zip pages that pad each value with a zero control word by @LuciferYang in #10669
  • fix(index): restrict each scalar index segment to its own coverage by @wombatu-kun in #11045
  • fix(index): stop bloom filter optimize from keeping stale null rows by @wombatu-kun in #11054
  • fix(exec): preserve fragment scope in top-k late materialization by @zhangyue19921010 in #11097
  • fix(index): validate vector segments added by transaction actions by @lance-gatefixer[bot] in #11213
  • fix(index): optimize legacy IVF segments and uint8 IVF_HNSW_FLAT indexes without panicking by @LuciferYang in #11263

New Features 🎉

  • feat(table): store explicit deletion file path by @geruh in #10914
  • feat(fts): add bounded background and final partition merging by @BubbleCal in #11017
  • feat: include field paths and row locations in JSON conversion errors by @shu-chen-dot-ca in #11085
  • feat: support the ~ regex match operators in filters by @wkalt in #11156
  • feat(index): use character classes and (?i) in ngram regex queries by @wkalt in #11157
  • feat(index): show an ngram regex query's trigrams in plans by @wkalt in #11158
  • feat(python): add size() to LanceFileSession by @ethqunzhong in #11229
  • feat(compaction): expose writer buffer budgets in Python and Java by @HelloLuyifeng in #11246
  • feat(fts): support fuzzy flat match search and multi-leaf prepared compound queries by @BubbleCal in #11348
  • feat(io): add per-store AWS profile selection for S3 and DynamoDB by @Xuanwo in #11360

Bug Fixes 🐛

  • fix(dataset): reject zero take scan readahead by @zhangyue19921010 in #11039
  • fix(dataset): preserve row counts for empty take projections by @zhangyue19921010 in #11041
  • fix(index): share one load among concurrent bitmap cache misses by @xuanyu-z in #11042
  • fix(python): make fixed batch sampling lazy and report accurate lengths by @kamronis in #11055
  • fix(dataset): reject overflowing fragment take offsets by @zhangyue19921010 in #11071
  • fix(scanner): materialize version columns in late reads by @zhangyue19921010 in #11074
  • fix: reject schema-dependent commits across cleaned-up history by @maharanay22 in #11079
  • fix: keep the UTC offset of timestamp literals by @maharanay22 in #11080
  • fix(cleanup): do not reserve a full delete batch up front by @maharanay22 in #11081
  • fix(python): accept timezone-aware asof timestamps by @maharanay22 in #11082
  • fix(python): write Enum fields of Pydantic models by @maharanay22 in #11083
  • fix(index): reuse portable ivf state across remapping by @BubbleCal in #11089
  • fix(scan): stop pushing a limit past AtLeast candidates by @dayan02dev in #11092
  • fix(index): treat fts as inverted when matching indices and reject malformed scalar params by @LuciferYang in #11106
  • fix(index): drop a split's reshuffled multivector rows from unaffected partitions by @LuciferYang in #11107
  • fix(datafusion): declare _score in the fts() table and project only the requested columns by @LuciferYang in #11108
  • fix(datafusion): pick a common element type for array literals by @aimanmalib in #11115
  • fix(python): read back a Rewrite's rewritten indices with every field by @Borg93 in #11118
  • fix(index): read single-partition shuffle offsets once by @lance-gatefixer[bot] in #11130
  • fix(index): preserve typed JSON predicates on indexed scans by @Xuanwo in #11132
  • fix(file): accept masked null structs in fixed-size lists by @zhangyue19921010 in #11162
  • fix(file): validate the first duplicate column type by @zhangyue19921010 in #11165
  • fix(python): do not stop dot-metric KMeans before its first update by @sohailshk in #11173
  • fix(python): respect the array offset in KMeans.transform on a FixedSizeListArray by @sohailshk in #11174
  • fix(index): recover JSON target types from persisted metadata by @Xuanwo in #11175
  • fix(compaction): honor data_cache_bytes in column repacks by @LuciferYang in #11179
  • fix(jsonb): keep JSONPath integer arithmetic exact and filter comparisons order-independent by @LuciferYang in #11191
  • fix(namespace): raise the REST adapter request body limit by @LuciferYang in #11194
  • fix(namespace): report invalid directory properties and existing columns as invalid input by @LuciferYang in #11195
  • fix(namespace): build AWS session names from ASCII characters only by @LuciferYang in #11196
  • fix(namespace): list V1 manifest versions in numeric order by @LuciferYang in #11197
  • fix(python): encode accelerated IVF_PQ dot indexes without residuals by @sohailshk in #11199
  • fix(python): respect offset, length and nulls in lance.arrow.cast for FixedSizeListArray by @sohailshk in #11200
  • fix(merge_insert): drop primary-key markers from the update_if condition schema by @henryivesjones in #11212
  • fix(jni): release dispatcher error string local references by @kamronis in #11215
  • fix: broadcast scalar JSON UDF arguments across column inputs by @kamronis in #11217
  • fix(index): restore recall of distributed IVF_PQ with the dot metric by @cwj0bzxg in #11218
  • fix: flatten only visible non-null multivector children by @kamronis in #11219
  • fix(io): stage local conditional writes under a fixed-length sibling name by @Xuanwo in #11220
  • fix(io): route wrapped local file IO through the selected store by @Xuanwo in #11221
  • fix(python): report interrupted file reads as terminal errors by @kamronis in #11224
  • fix: cap IVF partition search at target_partitions only when the caller sets it by @dshepelev15 in #11233
  • fix(filter): compare integer literals outside an integer column's type as constants by @aimanmalib in #11236
  • fix(python): reject out-of-range offsets in LanceFragment.take by @maharanay22 in #11253
  • fix: reject list children in packed structs instead of panicking by @maharanay22 in #11254
  • fix: keep late-materialized batches within batch_size by @maharanay22 in #11256
  • fix: reject lossy alter_columns casts by @maharanay22 in #11257
  • fix(derive): support zero-variant enums and hygienic field bindings by @WinstonCCC in #11259
  • fix(python): reject unknown optimize_indices options by @LuciferYang in #11266
  • fix(io): stop Lance retries for handled Hugging Face rate limits by @Xuanwo in #11304
  • fix(dataset): preserve initial base ID bindings in multi-base writes by @Xuanwo in #11307
  • fix(io): isolate revision-pinned Hugging Face bases by @Xuanwo in #11310
  • fix(memwal): report inexact row counts for vector scans by @HelloLuyifeng in #11313

Documentation 📚

Performance Improvements 🚀

  • perf: simplify separated membership predicates before index planning by @jischeng in #10458
  • perf(vector): stop rebuilding the quantizer and copying masks per query by @dshepelev15 in #10829
  • perf(merge-insert): dedupe matched target rows with bitmaps by @LuciferYang in #11109
  • perf(scan): keep overlay read selections compact by @BubbleCal in #11119
  • perf(python): index UDF checkpoint lookups and cleanup by @kamronis in #11170
  • perf(btree): keep the built page lookup in the cached index state by @zehiko in #11178
  • perf: speed up sparse row-stream reads (ANN 4.1-10.6x, indexed FTS 11x, scalar ~1x) by @xiaguanglei in #11252
  • perf(index): optionally sample IVF training data in contiguous runs by @dshepelev15 in #11270
  • perf(dataset): optionally cap a take's in-flight reads by @luma-shangma in #11353

Other Changes

  • refactor(io): route direct object requests through the Lance facade by @Xuanwo in #11223
  • refactor(index): move IVF optimize tests into their own module by @LuciferYang in #11264

Full Changelog: v15.0.0-beta.25...v15.0.0-beta.26