Repository navigation
v16.0.0-beta.6
Pre-release
Pre-release
·
16 commits
to main
since this release
What's Changed
Breaking Changes 🛠
- feat(index): add opt-in e-means training for IVF centroids and PQ codebooks by @jzheng106 in #11459
- feat(index): reuse HNSW graphs when optimizing IVF_HNSW indices by @jzheng106 in #11461
- fix(namespace)!: keep the unit of Time32 and Time64 in the JSON schema by @LuciferYang in #11506
- feat(format): rename Lance 2.3 block Delta to MonotonicDelta by @Xuanwo in #11571
New Features 🎉
- feat(encoding): support u128 bitpacking for decimal128 columns by @LuciferYang in #6858
- feat(python): expose per-fragment field storage stats by @XuQianJin-Stars in #10065
- feat(python): expose delta upserts and date windows by @XuQianJin-Stars in #10067
- feat: add a DataFusion table function for hybrid search by @jackylee-ch in #11066
- feat(geo): support remap in the RTree index by @shu-chen-dot-ca in #11086
- feat: convert string and binary representations on dataset writes by @shu-chen-dot-ca in #11091
- feat(index): support SQ8 quantized refinement by @kamronis in #11126
- feat: observe memory during writes and maintenance by @wombatu-kun in #11134
- feat(python,java): add migrate_to_stable_row_ids bindings by @jackylee-ch in #11150
- feat(index): limit local index optimization concurrency by @lipeh1 in #11154
- feat(java): add Dataset.addBases and deepClone by @jackylee-ch in #11160
- feat: report allocator heap memory by @wombatu-kun in #11172
- feat(index): merge LabelList segments with new rows during optimize by @ddupg in #11231
- feat(python): expose take_row_ids API by @rleungx in #11430
- feat(namespace): support page_token for descending table version listings by @vaibhavdabas16 in #11469
- feat(dataset): add fragment pruning for distributed planning by @FANNG1 in #11497
- feat(index): expose index scan statistics by @kamronis in #11510
- feat: accept metadata when creating dataset tags and branches by @karthiksenv in #11544
- feat(encoding): honor explicit fixed-width mini-block sizes by @Xuanwo in #11576
- feat: merge list-element index segments by @karthiksenv in #11585
- feat(mem_wal): expose full-text search on the Python LsmScanner by @wombatu-kun in #11589
- feat(lance): re-export object_store in lance::deps by @GatewayJ in #11592
- feat(index): score fast RaBitQ partitions from sign planes by @BubbleCal in #11613
- feat(file): inspect UTF-8 widths in observed file tails by @BubbleCal in #11627
- feat(python): attach memory snapshots to index progress by @wombatu-kun in #11647
- feat(scanner): support unordered vector and full-text search results by @BubbleCal in #11669
- feat(python): accept Arrow PyCapsule streams in write_dataset by @jackylee-ch in #11670
Bug Fixes 🐛
- fix: refuse dropping a primary key column on a table with a MemWAL by @zhangyue19921010 in #11043
- fix: io_uring worker hang on CQ overflow and SQ-full read failures by @zehiko in #11046
- fix(io): release io_uring handles with reader lifetimes by @lance-gatefixer[bot] in #11052
- fix(python): use float32 for float64 vectors on MPS by @sohailshk in #11138
- fix(bitpacking): remove paste dependency without replacement crate by @GatewayJ in #11153
- fix(java): complete cancelled scans and reclaim late streams by @kamronis in #11169
- fix: reclaim index directories of commits verified as not landed by @easyrev in #11230
- fix(io): cache absent storage options with bounded refresh by @kamronis in #11247
- fix: normalize Blob list schemas on append by @ddupg in #11248
- fix: apply cosine distance_range on the exact scale when unindexed rows are re-scored by @maharanay22 in #11249
- fix: share the prefilter across boolean and boost full-text query leaves by @maharanay22 in #11258
- fix(index): exclude deleted rows from whole-fragment stable ID translation by @ddupg in #11274
- fix(index): prevent float16 k-means centroid overflow by @lance-gatefixer[bot] in #11285
- fix(python): forward scan byte targets in to_pandas by @zhangyue19921010 in #11289
- fix: pin scanner snapshots for blob pandas export by @kamronis in #11291
- fix: skip primary-key validation during expression planning by @lance-gatefixer[bot] in #11295
- fix(python): preserve trace event levels in logs by @wombatu-kun in #11302
- fix: stream fragment-tagged scanner batches by @kamronis in #11303
- fix(merge-insert): reject nested join keys before matching rows by @jackylee-ch in #11306
- fix: accept Arrow arrays of query vectors by @kamronis in #11309
- fix(index): bound memory for JSON type inference by @wombatu-kun in #11311
- fix(encoding): write wide FixedSizeList columns and keep byte-wide items to 2.3 by @Indian-boult in #11316
- fix(cleanup): reject cleanup ages that reach past the earliest timestamp by @Indian-boult in #11318
- fix(index): cast BTree page bounds to dictionary statistics by @Indian-boult in #11320
- fix(index): keep LABEL_LIST indices out of merge_insert key lookups by @Indian-boult in #11322
- fix(python): stop ShardedBatchSampler reseeding global random without randomize by @definitelynotguru in #11323
- fix(index): keep every page column when remapping through the fragment reuse index by @Ali2Arslan in #11324
- fix(index): count logical nulls when training zone maps by @maharanay22 in #11325
- fix: reject clones and branches of detached versions by @maharanay22 in #11326
- fix(python): display empty and nullable encoded image previews by @zhangyue19921010 in #11341
- fix(transaction): claim spilled row ids as an exclusive footprint by @lichuang in #11342
- fix(geo): normalize signed zero in Hilbert UDF hashes by @lance-gatefixer[bot] in #11345
- fix(io): preserve file addresses in OpenDAL directory listings by @jackylee-ch in #11351
- fix(commit): validate registered sizes when opening finalized manifests by @jackylee-ch in #11356
- fix(compaction): read column repacks with io_buffer_size by @LuciferYang in #11367
- fix(vector): keep distance_range when few rows pass the prefilter by @Indian-boult in #11369
- fix(index): drop deleted fragment IDs from merged vector coverage by @wombatu-kun in #11381
- fix(index): propagate index open errors during compaction by @wombatu-kun in #11386
- fix: reject reversed dataset delta ranges consistently by @kamronis in #11396
- fix(datagen): enable undocumented_unsafe_blocks and preserve sliced validity by @wombatu-kun in #11400
- fix(java): initialize datasets returned by branch creation by @jackylee-ch in #11414
- fix(transaction): rebase staged row updates on disjoint writes by @jackylee-ch in #11419
- fix(python): propagate set_epoch to persistent DataLoader workers by @LuciferYang in #11447
- fix(index): reject Hamming for PQ training and builds by @ddupg in #11476
- fix(python): preserve branch snapshot URIs by @lance-gatefixer[bot] in #11501
- fix(python): reject a second trace callback instead of poisoning the tracing lock by @LuciferYang in #11504
- fix(python): reject negative cleanup ages and invalid auto_cleanup_options by @LuciferYang in #11516
- fix(fts): stop the ICU stop-word union from deleting content words by @LuciferYang in #11518
- fix(python): reject take_rows indices beyond u32 instead of wrapping them by @LuciferYang in #11520
- fix(dataset): refresh manifest naming before stale writer commits by @lance-gatefixer[bot] in #11521
- fix(python): retry creating the background executor after a failed attempt by @LuciferYang in #11523
- fix(python): reject cleanup and expire ages past the earliest timestamp by @Indian-boult in #11526
- fix(namespace-datafusion): release the cache guard before reloading a stale table by @LuciferYang in #11529
- fix(python): keep reporting a ShardWriter.close() that did not finish by @LuciferYang in #11531
- fix(namespace): honor snapshot selectors for registered tables by @jackylee-ch in #11532
- fix(python): treat CommitConflictError from a custom commit lock as a commit conflict by @LuciferYang in #11535
- fix(python): do not panic after a commit when another thread uses the dataset handle by @LuciferYang in #11537
- fix(filter): fold constant expressions without wrapping them in the column type by @aimanmalib in #11546
- fix(jsonb): enable undocumented_unsafe_blocks and validate UTF-8 by @wombatu-kun in #11553
- fix(io): reject reversed read ranges by @RocMarshal in #11554
- fix(schema): drop columns with literal backticks by @lance-gatefixer[bot] in #11558
- fix(file): align v2.3 validation with decoder contracts by @lance-gatefixer[bot] in #11569
- fix(file): preserve page buffer order in streaming concat by @Xuanwo in #11573
- fix(index): bound open bitmap readers during wide segment merges by @belovaf in #11577
- fix(encoding): clarify missing Pcodec build support by @Xuanwo in #11578
- fix(index): bound local scalar segment fan-out during indexed queries by @belovaf in #11581
- fix(dataset): clean up deleted branches while independent reservations are pending by @wombatu-kun in #11598
- fix(table): reject deletion offsets outside the fragment by @aimanmalib in #11602
- fix(arrow): preserve field metadata in rename_column by @leninworld in #11606
- fix(query): plan deep filters and preserve top-k aliases by @BubbleCal in #11608
- fix(scanner): apply the refine filter once on the flat vector prefilter path by @wzloic in #11624
- fix(fts): preserve document residency during tiered prewarm by @jackye1995 in #11630
- fix(file): project packed Blob v2 descriptor children by name by @everySympathy in #11633
- fix(scan): match literal names in projected file schemas by @Xuanwo in #11643
- fix(index): use JSON path keys for serialized equality predicates by @BubbleCal in #11651
- fix(blob): resolve unknown external blob sizes once and concurrently in scans by @jzheng106 in #11668
- fix(python): preserve branch storage options across pickle by @zhangyue19921010 in #11672
Documentation 📚
- docs(format): specify 128-bit bitpacking for Lance 2.3 by @LuciferYang in #10934
- docs(lance): add SAFETY comments to lance unsafe blocks by @wombatu-kun in #11168
- docs: correct the retry behaviour described on delete by @Curricane in #11243
- docs: document batch vector queries and shared IVF_RQ rotation for merges by @sezruby in #11467
- docs(io): document supported Azure dataset URIs by @skyshineb in #11550
- docs(encoding): clarify Lance 2.3 ALP and Constant metadata by @Xuanwo in #11560
- docs(encoding): specify Lance 2.3 block compression constraints by @lance-gatefixer[bot] in #11568
- docs(format): render Lance 2.3 encoding protobufs by @Xuanwo in #11572
- docs(format): specify Lance 2.3 ALP chunk encoding by @Xuanwo in #11574
- docs(format): place Lance 2.3 AxisDelta in the encoding reference by @Xuanwo in #11575
- docs(format): add decimal:32 and decimal:64 logical types for Lance 2.3 by @LuciferYang in #11593
- docs(fsst): enable undocumented_unsafe_blocks and document compress_step by @wombatu-kun in #11649
Performance Improvements 🚀
- perf(io): serve page-cache hits inline instead of through the blocking pool by @dshepelev15 in #10183
- perf(scan): build only the projected part of a data file's schema on open by @zehiko in #10793
- perf(rowids): reuse prepared fragments across snapshots by @BubbleCal in #10800
- perf(select): build dense BTree prefilter masks up to 4.32× faster by @xiaguanglei in #11131
- perf(prefilter): speed up ANN queries up to 2.07× with exact mask membership by @xiaguanglei in #11133
- perf(prefilter): speed up ANN search with broad scalar filters up to 2.50× by @xiaguanglei in #11135
- perf(index): deduplicate identical leaves and bound concurrency in ScalarIndexExpr by @jischeng in #11176
- perf(linalg): compute each multivector cosine query norm once by @LuciferYang in #11192
- perf(datafusion-exec): parse a repeated JSONPath once by @LuciferYang in #11193
- perf(index): speed up FM-index rank and locate by @belovaf in #11333
- perf(merge): use an anti join for unmatched-target deletes by @belovaf in #11336
- perf(index): avoid opening old FTS partitions on append by @belovaf in #11361
- perf: sweep requested positions in scanner take by @kamronis in #11401
- perf(core): avoid cloning deletion sets for sorted iteration by @RocMarshal in #11439
- perf(index): accelerate PQ8 distance scans with AVX-512 gathers by @smartlxh in #11471
- perf(index): up to 5.8x faster IVF segment ownership checks by @xiaguanglei in #11484
- perf(tokenizer): drain the Lindera token stream with a cursor by @LuciferYang in #11512
- perf(compression): make the FSST training lookup match the reference findLongestSymbol by @LuciferYang in #11525
- perf(encoding): implement page bridging for variable full-zip pages by @easyrev in #11540
- perf(index): skip unchanged fragments when remapping bitmap postings by @belovaf in #11586
- perf(cleanup): list managed subtrees concurrently by @lichuang in #11596
- perf(tokenizer): reuse buffers in the word delimiter filter by @g4lb in #11599
- perf(index): use masked SIMD pruning for filtered RaBitQ scans by @BubbleCal in #11604
- perf(fts): enable bulk conjunctions for default posting blocks by @BubbleCal in #11607
- perf(cache): share index capacity across lookup shards by @BubbleCal in #11609
- perf(dataset): cache row visibility without manifest etags by @BubbleCal in #11610
- perf(io): size scan buffers independently of request slots by @BubbleCal in #11611
- perf(index): size filtered HNSW search by partition work by @BubbleCal in #11612
- perf(index): batch filtered flat and quantized vector distances by @BubbleCal in #11614
- perf(vector): adapt large-k probes and index residual filters by @BubbleCal in #11615
- perf(file): share the metadata spill buffer across columns by @BubbleCal in #11618
- perf(scan): select byte batching for wide projections by @BubbleCal in #11619
- perf(io): raise the native S3 read ramp and rate ceiling by @BubbleCal in #11622
- perf(encoding): recheck ambiguous 2.2 dictionaries within fixed bounds by @BubbleCal in #11626
- perf(index): plan IVF partition reads with the WaRP request planner by @jzheng106 in #11637
- perf(io): avoid quadratic row counting in batch chunker by @RocMarshal in #11642
- perf(scanner): scope filtered counts to matching fragments by @BubbleCal in #11648
Other Changes
- perf(fts): gallop over removed documents when remapping postings by @belovaf in #11136
- fix(io): initialize spill directories in blocking jobs by @kamronis in #11595
Full Changelog: v16.0.0-beta.5...v16.0.0-beta.6