Skip to content

0.94.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 18:56
Immutable release. Only release title and notes can be modified.
91f867d

Release notes

For upgrades from 0.93.0, the main compatibility changes affect serialized expressions, extension types, and Rust APIs. If you share serialized expressions across versions, upgrade readers before writers. The new file encodings are opt-in through preview editions. Full release diff

Breaking changes and migration

  • Serialized expressions. The Rust Binary function and Operator enum split into Compare, Boolean, and Numeric, each with its own operator type. Vortex 0.94 reads expressions written with the old vortex.binary ID. A 0.93 reader cannot load expressions written with the three new IDs. The C, Java, and Python operator APIs keep their existing syntax. #11818
  • Extension casts and Arrow interchange. Generic casts involving extension types now allow nullability changes and construction from untyped nulls. A cast that previously reinterpreted storage, such as changing a timestamp from milliseconds to nanoseconds while keeping the same integer, now fails even when loading a saved expression. Use ext_storage to access or export the underlying values. In Rust, Cast::new becomes Cast::try_new. Python no longer accepts raw integers as extension scalars or literals. Arrow imports of malformed known extensions now report an error instead of silently returning a plain storage array. #11599 · #11223
  • Rust expression and function imports. Expression construction and serialization moved to vortex-expr. Functions including lower, like, between, and list_contains moved to vortex-functions. Hand-built sessions should call vortex_expr::initialize and vortex_functions::initialize to register the functions, kernels, and pruning rules. VortexSession::default() does this automatically. #10762 · #10768
  • Custom encodings and extension types. Serializable encodings now implement ArrayPlugin explicitly. Custom extension types replace ExtVTable::validate_dtype with storage_dtype, deriving the storage type from metadata. Reads check that declaration, including nested nullability. Arrow export plugins must preserve nulls and the comparison behavior of storage values. #11285 · #11184 · #11879
  • Decimal construction. Precision now determines the canonical storage width. Remove the width argument from DecimalBuilder and pass an ExecutionCtx to checked DecimalArray constructors. These reject incorrectly sized buffers and visible host values outside the declared precision. Existing files with older decimal widths remain readable. #11571 · #11572
  • Other Rust migrations. slice, filter, and take now return lazy arrays. If you inspect the physical encoding immediately, call optimize_ctx(&session) first. VortexFile::splits now takes a field mask, with FieldMask::All preserving the previous behavior. Array::data_mut was removed. Replace vortex_alp::decompress_into_array with array.into_array().execute::(ctx). vortex-array now requires a little-endian target. #11091 · #11490 · #11574 · #11587 · #11780

Functional changes

  • Python datasets. vx.open_dataset() reads a directory, glob, object-store prefix, or explicit file list as one dataset. Its concurrency setting bounds split reads across all files. take() preserves the requested order and raises IndexError for out-of-bounds positions. head(n) returns the available rows when fewer than n remain. ChunkedArray.from_chunks() combines same-typed arrays without copying. #11696 · #11410 · #11836 · #11384 · #11620
  • Query engines. The integration moves to DataFusion 56. DataFusion can query a Python VortexDataset directly and push Unicode-aware lower, strpos, and literal substring, prefix, and suffix filters into Vortex scans. DuckDB pushes down IS DISTINCT FROM and IS NOT DISTINCT FROM. Ray Data gains distributed writes through ds.write_datasink(VortexDatasink(path)), and limit() can stop a read early. #10309 · #11593 · #11296 · #11398 · #11478 · #11838
  • File writing and compression. The default string and binary dictionary cap doubles from 1 MiB to 2 MiB of uncompressed values. This can reduce repeated dictionary data, at the cost of larger reads for individual rows. Set with_dict_max_bytes(1 << 20) to retain the previous cap. Java and Spark writers gain the compact write strategy. C and C++ writers can select a file edition. FastLanes Delta is available in preview2026.08.0, and preview2026.11.0 adds DecimalByteParts v2 for wide decimals and the Widen encoding. #10766 · #11406 · #11435 · #11438 · #11635
  • Arrow and GPU support. Arrow fixed-shape tensors can now be imported and exported. Chunked Variants read correctly, empty Variants export to Arrow, and fixed-size lists import when null parent rows contain null child items. CUDA adds Widen execution and ALP-RD float decoding, and fixes patch placement when decoding sliced ALP arrays. #10086 · #11499 · #11719 · #11497 · #11303 · #11707 · #11882
  • Scan and I/O failure behavior. A scan range extending past the end of the data now returns an error consistently across file layouts. Java scans honor zero limits and open-ended ranges. Truncated IPC frames report an error at EOF, terminal file-writer errors propagate without hanging, and failed or cancelled multipart uploads are aborted. #11777 · #11839 · #11728 · #11740 · #11757

Full List of Changes

📜 Editions

⚠️ Breaks

🚧 Deprecation

  • Deprecate the session-less optimize and keep constructors lazy (#11091) @robert3005

✨ Features

🚀 Performance

🐛 Bug Fixes

118 changes

📖 Documentation

8 changes

🧰 Maintenance

94 changes