Skip to content

v15.0.0

Latest

Choose a tag to compare

@lance-community lance-community released this 30 Nov 08:00
· 208 commits to main since this release

What's Changed

Breaking Changes 🛠

  • feat(transaction): action-based transaction wire format (Transaction V2) by @wjones127 in #7954
  • feat(tools): add table manifest command by @bugwz in #7970
  • fix(merge_insert): bound indexed join memory by @lance-gatefixer[bot] in #8374
  • fix(compaction): preserve row order across parallel tasks by @lance-gatefixer[bot] in #8400
  • perf(index)!: parallelize zone statistics computation in scalar index training by @zhangyue19921010 in #8469
  • 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(dataset)!: expose manifest_size on Version by @hiltonhe in #9102
  • feat(format)!: add file metadata size hint by @Ali2Arslan in #9168
  • perf(index): reuse RaBitQ LUTs and share IVF query state by @xiaguanglei in #9190
  • feat(dataset): add expire_versions to remove history without reading manifests by @jackye1995 in #9438
  • feat(compaction)!: repack a fragment's columns as a compact_files task by @LuciferYang in #9604
  • feat(index)!: change ngram, rtree, and minhash lsh scalar indexes to row-address domain by @westonpace in #9858
  • fix(mem_wal): stop publication after terminal L0 flush failures by @lance-gatefixer[bot] in #9959
  • perf(linalg)!: select f32/f64 cosine kernels once from a host feature set by @wjones127 in #10088
  • feat(index): implement version 1 zone write seeds by @LuQQiu in #10102
  • perf(linalg)!: select hamming kernels once and speed up batch and pairwise scans by @wjones127 in #10112
  • refactor(linalg): port AVX-512 row-major dist_table kernel to Rust by @wjones127 in #10115
  • perf(index): select bq and wand SIMD kernels once via Dispatch by @wjones127 in #10116
  • feat(table): store small deletion vectors in the manifest by @dshepelev15 in #10164
  • refactor!: add lance-datafusion-exec so lance-index skips datafusion by @wjones127 in #10251
  • feat(encoding): add modern ALP miniblock compression by @Xuanwo in #10267
  • feat(namespace): preserve Retry-After metadata on throttling errors by @hello-peter-tang in #10400
  • feat(io): let callers supply the HTTP connector native cloud stores use by @schmidt-jake in #10471
  • feat(index)!: add IVF_HNSW_RQ vector index by @cwj0bzxg in #10522
  • refactor!: move the R-tree geo index from lance-index into lance-geo by @wombatu-kun in #10579
  • refactor(index): split Dataset index lifecycle by @Xuanwo in #10600
  • refactor(python): organize dataset bindings by capability by @Xuanwo in #10602
  • refactor(mem_wal): split write path responsibilities by @Xuanwo in #10605
  • fix(clustering): restore brings back the target's definitions, keeping only the allocation mark by @LuQQiu in #10629
  • fix(compaction): skip byte-full files by default with a configurable threshold by @majin1102 in #10681
  • fix(dataset): reject deleted branch writes and checkouts by @lance-gatefixer[bot] in #10736
  • feat(java)!: support bounded vector index consolidation by @ddupg in #10755
  • perf(scan): skip element payloads for list length expressions by @BubbleCal in #10759
  • fix(scan)!: preserve list structure reads across plan transport by @BubbleCal in #10766
  • feat(format)!: add local_fragment_aliases to IndexMetadata by @geruh in #10780
  • fix: treat a version with no namespace record as not found by @LuciferYang in #10826
  • feat(optimize)!: withdraw coverage an index cannot defer-remap in the compaction commit by @LuQQiu in #10833
  • fix!: carry an explicit empty fragment selection through the FilteredReadExec proto by @LuciferYang in #10863
  • feat(index): support distributed optimize for MinHash LSH by @ddupg in #10884
  • perf(encoding): push down MiniBlock range decode and O(1) bitpack take by @Xuanwo in #10909
  • feat(index)!: select IVF_HNSW_RQ graph scoring per query, default to full multi-bit by @jzheng106 in #10910
  • feat(index): support distributed RTree index optimization by @ddupg in #10981
  • perf(index)!: normalize stable-row-id scalar index results to row-address domain by @westonpace in #11012
  • fix(namespace): preserve timestamp and duration precision by @Xuanwo in #11059
  • fix(python): always return namespace version response models by @Xuanwo in #11113
  • fix(mem_wal): bound Python writer input buffering by @lance-gatefixer[bot] in #11228
  • fix: release fragment reuse transitions whose retired destinations are settled downstream by @LuQQiu in #11290
  • refactor!: merge lance-arrow-scalar and lance-arrow-stats into lance-arrow by @Xuanwo in #11294
  • fix(merge_insert): reject partial list updates before committing by @lance-gatefixer[bot] in #11329
  • fix(python)!: reject unsupported fragment selections in dataset row counts by @jackylee-ch in #11347
  • refactor(dataset): unify ManifestWriteConfig into ManifestBuildConfig by @Xuanwo in #11391

Critical Fixes ‼️

  • fix: support file-less fragments by @skyshineb in #7238
  • fix: resolve struct validity from data overlays by @lance-gatefixer[bot] in #9092
  • fix: scope row address mask cache by manifest generation by @lance-gatefixer[bot] in #9094
  • fix(core): narrow LargeList children in schema intersection by @LuciferYang in #9503
  • fix(io): prevent scan scheduler byte-budget deadlock by @lance-gatefixer[bot] in #9576
  • fix(index): apply segment ownership in shared-scan batch IVF search by @sezruby in #9638
  • fix(stable_row_id): segmented scalar index returns stale rows under stable row ids by @zhangyue19921010 in #9785
  • fix(fts): segmented full-text index returns stale rows under stable row ids by @zhangyue19921010 in #9872
  • fix(encoding): preserve the declared dictionary key type when merging dictionary arrays by @lichuang in #9958
  • fix(encoding): reject packed-struct children the encoder cannot pack by @LuciferYang in #9963
  • fix(table): validate DynamoDB key types and page the manifest delete by @LuciferYang in #9977
  • fix(compaction): keep rewritten files when fragment-id reservation fails by @dsingh-exa in #9995
  • fix(io): avoid hanging and spurious Pending in ObjectWriter::poll_write by @dsingh-exa in #9996
  • fix(file): normalize fixed-size struct list row counts by @vera-rubin in #9999
  • fix: evaluate constant-first spatial predicates correctly by @sarwarbhuiyan in #10080
  • fix(mem_wal): search an SSTable generation without a vector index flat by @hamersaw in #10139
  • fix(index): read LIKE escapes like the executor when extracting a prefix by @LuciferYang in #10228
  • fix: protect pre-3.0 branches from cleanup by @LuciferYang in #10327
  • fix(cleanup): reject cleanup from a detached checkout by @LuciferYang in #10331
  • fix(index): conflict CreateIndex with a DataReplacement of a packed parent by @easyrev in #10341
  • fix(index): fence older writers from row-address indices by @lance-gatefixer[bot] in #10352
  • fix(encoding): size dictionary decode output exactly for large values by @wombatu-kun in #10376
  • fix(scanner): inherit index metrics in vector search filters by @lance-gatefixer[bot] in #10377
  • fix(index): reject a PQ codebook of another value type and quantize cosine transforms with L2 by @LuciferYang in #10380
  • fix(fts): refresh WAND windows before advancing parked clauses by @lance-gatefixer[bot] in #10408
  • fix(index): remap FM-index rows after deferred compaction by @lance-gatefixer[bot] in #10559
  • fix(cleanup): keep the files of detached versions by @LuciferYang in #10611
  • fix: read full-zip pages that pad each value with a zero control word by @LuciferYang in #10669
  • fix(dataset): reject orphaned versions during branch creation by @lance-gatefixer[bot] in #10737
  • fix(index): implement JsonQuery::to_expr for the legacy recheck scan by @LuciferYang in #10746
  • fix(index): reject commits that mix incompatible vector segments under one name by @wombatu-kun in #10761
  • fix(index): validate all build versions of merged coverage by @lance-gatefixer[bot] in #10823
  • fix: clamp the block-list capacity hint in row_ids_for_mask by @LuciferYang in #10861
  • fix(mem_wal): search a base table without a usable vector index flat by @LuciferYang in #10893
  • fix(dataset): honor target stores in shallow clones by @lance-gatefixer[bot] in #10942
  • fix(scanner): avoid sort panics for zero limits by @lance-gatefixer[bot] in #10959
  • fix(select): preserve empty row-address ranges by @zhangyue19921010 in #11005
  • fix: reject alterations targeting a column after a cast by @lance-gatefixer[bot] in #11013
  • 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(namespace-dir): support manifest-backed table renames by @Ar-maan05 in #6975
  • feat(java): expose SourceDedupeBehavior in MergeInsertParams by @sezruby in #7296
  • feat(index): tokenize JSON arrays into sub-documents by @wirybeaver in #7377
  • feat(sql): register additional tables for Dataset.sql queries by @sbrunk in #7839
  • feat(io): add retry support for OpenDAL stores by @ddupg in #8363
  • feat(index): add opt-in quantized vector refinement by @kamronis in #8741
  • feat(commit): default unrecognized schemes to put-if-not-exists commit handler by @farazshaikh in #8773
  • feat: added ability to configure scheduler error handling mode by @a-erofeev in #8780
  • feat(encoding): implement plan_decoded_bytes for variable-width structural decoder by @westonpace in #8793
  • feat(fts): expose global BM25 statistics for distributed queries by @zhangstar333 in #8938
  • feat(java): expose aggregate index fragment coverage by @everySympathy in #8961
  • feat(scanner): ignore selected scalar indices by @majin1102 in #9034
  • feat(python): add scan_stats_callback to LanceFragment.scanner by @manucorporat in #9149
  • feat(mem_wal): rank an LSM scan, so a limit is an ordered top-k by @hamersaw in #9214
  • feat: add metrics for allow list / block list size from query search by @westonpace in #9255
  • feat(filter): compare integer columns with float literals exactly and keep the scalar index by @jonasdedden in #9333
  • feat(java): expose vector distance bounds by @nyl3532016 in #9374
  • feat(python): implement LanceScanner.take() matching pyarrow semantics by @lichuang in #9468
  • feat: warn if using legacy storage by @westonpace in #9476
  • feat(datafusion): report measured widths for variable-width scan columns by @vivek-bharathan in #9477
  • feat(java): support reusable IVF_RQ rotation models by @ddupg in #9489
  • feat(python): expose the data overlay writer in the Python bindings by @jan-exa in #9536
  • feat(datafusion): support FLOOR, CEIL, and SQL-standard SUBSTRING filters by @notAarushi019 in #9584
  • feat(compaction): add Dataset::column_layout_stats by @LuciferYang in #9605
  • feat(skills): add a table maintenance skill by @zhangyue19921010 in #9610
  • feat(python): preserve re-scannable merge sources by @easyrev in #9617
  • feat(mem_wal): add a streaming to_reader to the MemWAL LsmScanner by @zhangyue19921010 in #9694
  • feat(format): add data_change to DataReplacement by @LuciferYang in #9705
  • fix: protect fragment reuse history on stable-row-ID tables by @brendanclement in #9769
  • feat(cache): new cache metrics by @a-erofeev in #9781
  • feat(index): add composable segment statistics APIs by @ivscheianu in #9783
  • feat(index): change bitmap and label_list scalar indexes to row-address domain by @westonpace in #9814
  • feat: add FileFragment::update_columns_from_stream by @LuciferYang in #9826
  • refactor(index): expose native RaBitQ scan primitives by @BubbleCal in #9834
  • feat(index): add native RaBitQ plane reads and resident columns by @BubbleCal in #9835
  • feat(index): add row-addressable native RaBitQ cache bodies by @BubbleCal in #9836
  • perf(index): load native RaBitQ resident columns at open by @BubbleCal in #9842
  • feat(index): change JSON scalar index to row-address domain by @westonpace in #9856
  • feat: add ScalarIndex::lookup for batched exact-match key lookups by @wjones127 in #9875
  • feat: pass WriteParams to merge insert by @ragnorc in #9888
  • feat(format): let a new table keep the field IDs its input supplies by @xuanyu-z in #9898
  • feat(index): expose a runtime strategy for native RaBitQ scans by @BubbleCal in #9940
  • docs(format): specify PCA model storage and index compatibility by @beautygua in #9968
  • feat(format): define ZoneMap index version 1 statistics by @LuQQiu in #9986
  • feat(index): recover scalar segment build parameters by @Seanium in #9994
  • feat(fragment): expose deletion markers through FragReadConfig by @dsingh-exa in #9997
  • feat: add scoped hybrid scalar prefilters by @kamronis in #10001
  • feat(python): export memwal and audit transaction fields by @XuQianJin-Stars in #10064
  • feat(python): export merge-insert inserted row filters by @XuQianJin-Stars in #10066
  • feat(python): expose ZoneMap zone statistics by @XuQianJin-Stars in #10068
  • feat(core): add AVX-512 VNNI, VPOPCNTDQ, VBMI and BF16 to CpuFeatures by @wjones127 in #10099
  • feat(index): register external scalar index plugins by @LuQQiu in #10111
  • feat(index): reuse zone map write seeds across zone sizes and make the null bitmap optional by @LuQQiu in #10165
  • feat(blob): read blobs from explicitly opened handles by @sarwarbhuiyan in #10171
  • feat(python): expose the FM index to python by @zhangyue19921010 in #10196
  • feat(java): expose the FM index to java by @zhangyue19921010 in #10199
  • feat(index): implement ZoneMap index version 1 by @LuQQiu in #10217
  • feat(index): support multi-field externally maintained plugins by @Xuanwo in #10232
  • feat(blob): add managed blob writer for explicit sharing by @Xuanwo in #10233
  • feat: expose data_cache_bytes in CompactionOptions by @ilya-zlobintsev in #10238
  • feat(format): define per-tensor axis delta encoding for Lance 2.3 by @Xuanwo in #10240
  • feat(encoding): automatically select axis delta for compressed integer tensors by @Xuanwo in #10242
  • feat(cleanup): add configurable version retention policies by @jackye1995 in #10306
  • feat(python): expose plan, execute, merge and commit of optimize indices by @zhangyue19921010 in #10328
  • feat(java): expose distributed optimize indices as plan, execute, merge and commit by @zhangyue19921010 in #10332
  • feat(index): consolidate bounded vector segments without retraining by @Xuanwo in #10335
  • feat(index): add ordered search to the B-tree index by @Ali2Arslan in #10346
  • feat(index): plan tuple predicates over ordered key columns by @Ali2Arslan in #10347
  • feat: add Dataset::scan_blobs_as_logical and count MemWAL sidecar blob bytes by @xuanyu-z in #10356
  • feat(table): implement provider-managed clustering metadata at runtime by @LuQQiu in #10383
  • feat: support blob v2 assignments in UpdateBuilder by @wkalt in #10388
  • feat(compaction): let planners set output fragment clustering IDs and metadata by @LuQQiu in #10409
  • feat(index): add disk cache codec for ngram postings by @BubbleCal in #10423
  • feat(index): add disk cache codec for rtree entries by @BubbleCal in #10424
  • feat(index): add disk cache codecs for minhash entries by @BubbleCal in #10425
  • feat(mem_wal): scope each MemWAL incarnation to its own directory by @hamersaw in #10432
  • feat(python): bind parameters in dataset SQL queries by @lance-gatefixer[bot] in #10439
  • feat(compaction): compact explicitly chosen fragment groups in place by @LuQQiu in #10445
  • feat: opt-in process memory metrics with index build peaks by @wombatu-kun in #10451
  • feat: skip index segments a prefilter proves empty in ANN and FTS searches by @LuQQiu in #10485
  • feat: add predecessor-fenced dataset restore by @Xuanwo in #10556
  • feat(fts): expose flat match state for plan reconstruction by @BubbleCal in #10561
  • feat(index): expose json query state for distributed planners by @BubbleCal in #10582
  • feat(index): support native lazy RaBitQ through fragment reuse by @BubbleCal in #10609
  • feat(format): define pcodec mini-block compression for Lance 2.3 by @dakenf in #10617
  • feat(encoding): compress float vectors with pcodec in Lance 2.3 by @dakenf in #10618
  • feat(fts): expose document expansion plan reconstruction by @BubbleCal in #10622
  • feat(index): add controlled RaBitQ partition streams by @BubbleCal in #10624
  • feat(fts): expose shared corpus owner reconstruction by @BubbleCal in #10632
  • feat(fts): expose bm25f leaf reconstruction state by @BubbleCal in #10638
  • feat(fts): expose indexed leaf reconstruction state by @BubbleCal in #10643
  • feat(fts): expose compound composition state by @BubbleCal in #10645
  • feat(fts): expose compound leaf reconstruction state by @BubbleCal in #10647
  • feat(fts): expose flat filter document binding by @BubbleCal in #10649
  • feat: add expected-version field metadata commits by @Xuanwo in #10655
  • feat(session): allow resizing cache capacity at runtime by @hello-peter-tang in #10657
  • feat(fts): add with_limit to MatchQueryExec and FlatMatchQueryExec by @hamersaw in #10658
  • feat(index): support independent covering fields by @Ali2Arslan in #10662
  • feat(index): preserve native RaBitQ partition results by @BubbleCal in #10683
  • feat(index): stream stored minhash signatures by @BubbleCal in #10685
  • feat(search): calibrate recall targets by metric and k by @BubbleCal in #10695
  • feat: consolidate selected vector index segments by @xuanyu-z in #10698
  • feat(python): add session metadata cache to file readers by @hello-peter-tang in #10713
  • feat(compaction): report source-budget admission outcomes by @ChilePiquin in #10717
  • feat(python): expose row id to row address lookup by @venkata91 in #10720
  • feat: expose a public plan for rewriting batches with Blob v2 columns by @LuQQiu in #10724
  • feat: expose structured merge diagnostics and spill accounting by @kamronis in #10752
  • feat: log index build memory as trace events by @wombatu-kun in #10754
  • feat: report memory held by I/O schedulers, DataFusion pools and MemWAL by @wombatu-kun in #10760
  • feat(python): support bounded vector index consolidation by @zhangyue19921010 in #10762
  • feat(index): report the build stages of scalar indices by @wombatu-kun in #10767
  • feat(index): route whole predicates to multi-column index planners by @Ali2Arslan in #10768
  • feat(exec): add OrderedIndexScanExec over B-tree ordered search by @Ali2Arslan in #10777
  • feat(dataset): expose file reader defaults by @BubbleCal in #10786
  • feat(filter): keep the scalar index for comparisons of a column cast to a float by @jonasdedden in #10820
  • feat(index): plan predicate equality, IS [NOT] TRUE/FALSE and IS [NOT] DISTINCT FROM on indices by @jonasdedden in #10821
  • feat(optimize): hold unreadable-index coverage back from grouped compaction by @LuQQiu in #10832
  • feat: add a programmatic switch for memory observation by @wombatu-kun in #10866
  • feat: add any_element filter for per-element predicates on list columns by @sarwarbhuiyan in #10901
  • feat(table): store explicit deletion file path by @geruh in #10914
  • feat: add WARP multivector search by @jzheng106 in #10927
  • feat: accept array_any_match lambda filters by rewriting them to any_element by @sarwarbhuiyan in #10947
  • feat(format): add the listelement scalar index specification (experimental) by @sarwarbhuiyan in #10949
  • feat: add the experimental listelement scalar index over list elements by @sarwarbhuiyan in #10950
  • feat(index): support bounded optimize for LabelList by @Epochex in #10954
  • feat: add column context to decode errors by @cryptus-neoxys in #10955
  • feat(io): let LocalSpillStore create its scratch directory in a given directory by @vivek-bharathan in #10976
  • feat(index): support distributed optimize for BloomFilter by @wombatu-kun in #10977
  • feat(blob): add service URI policy and External cache hooks by @Xuanwo in #10989
  • feat(dataset): add pagination support for version listing by @MarigWeizhi in #11007
  • feat(fts): add bounded background and final partition merging by @BubbleCal in #11017
  • feat: report the peak memory reservation of each execution by @wombatu-kun in #11037
  • feat: include field paths and row locations in JSON conversion errors by @shu-chen-dot-ca in #11085
  • feat(file): expose file writer options for fragment column replacement by @Xuanwo in #11112
  • feat(dataset): expose file writer options for data file parts by @Xuanwo in #11128
  • feat(index): auto-remap IVF_HNSW partitions through the fragment reuse index by @jzheng106 in #11141
  • 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 scoped and pre-scored combined_fields execution by @BubbleCal in #11346
  • feat(fts): support fuzzy flat match search and multi-leaf prepared compound queries by @BubbleCal in #11348
  • feat(dataset): trace take I/O summary by @luma-shangma in #11357
  • feat(io): add per-store AWS profile selection for S3 and DynamoDB by @Xuanwo in #11360
  • perf(io): tune native S3 reads with per-operation AIMD settings by @BubbleCal in #11364
  • feat: deduplicate keyed append commits by @Xuanwo in #11411
  • feat(blob): write staged columns from completed Blob uploads by @Xuanwo in #11413
  • feat(java): expose the fragment overlay writer by @ddupg in #11420
  • feat(index): expose the shape of an IVF segment without opening it by @BubbleCal in #11429
  • feat(index): trace cold IVF initialization phases by @BubbleCal in #11453

Bug Fixes 🐛

Documentation 📚

Performance Improvements 🚀

Other Changes

Full Changelog: release-root/15.0.0-beta.N...v15.0.0