Repository navigation
Apache Paimon C++ 0.4.0
Apache Paimon C++ 0.4.0 expands native access to the Apache Paimon lake format with enhanced data-evolution support, changelog production, MAP shared-shredding improvements, additional file formats and data types, and REST Catalog integration.
This release also improves read performance, Java compatibility, and Linux aarch64 support, and introduces experimental real-time read and write capabilities.
Supported Features
Table and Changelog Capabilities
- Input, lookup, and full-compaction changelog producers for incremental processing
- Primary-key B-tree index reads and index maintenance during compaction
- Extended field aggregation for arrays, maps, nested records, sketches, and numeric products
- Java-compatible Bitmap64 Deletion Vectors, with support for reading mixed 32-bit and 64-bit formats
MAP Shared Shredding
MAP shared shredding stores dynamic MAP keys in a bounded set of reusable physical columns. Version 0.4 improves this capability with selected-key projection: applications can request specific keys from a MAP<STRING, T> column and read the relevant physical columns without reconstructing the full map.
This makes selective access to wide, sparse MAP data more efficient while preserving the logical MAP representation for full-column reads.
Blob and Data Evolution
- Reading and writing
ARRAY<BLOB>andMAP<K, BLOB>fields - Blob fallback for partial updates, resolving unchanged Blob values from earlier versions without rewriting large objects
- Catalog-based resolution of BlobView dependency tables
- Deletion Vector reads, file-index filtering, and predicate pushdown for data-evolution tables, keeping merged columns aligned by row ID
File Formats and Data Types
- Lance and Mosaic file-format integrations
- Experimental format tables for batch reads and writes over existing Parquet and ORC file directories
- Experimental
VECTOR<T, N>support for fixed-size dense vectors, including separate vector storage in supported table configurations TIMEsupport for append-only tables only (Parquet reads and Lance reads and writes), plus Lance support forTIMESTAMP_LTZ
Support varies by file format and table mode; consult the documentation for the applicable restrictions.
Indexes and Search
- File-index read and write support, including BSI and Bloom Filter writers and V2 containers for streaming index writes
- Bitmap global indexes for scalar filtering on data-evolution tables
- Checkpoint and retry support for long-running Lumina index builds
- Experimental table-level full-text search for data-evolution tables, with JSON DSL queries, relevance scores, and configurable tokenization
Catalogs and Filesystems
- REST Catalog support for databases, tables, and snapshots, including DLF authentication, temporary data-access credentials, and commit leases
- Snapshot commits through version-managed catalogs and branch-aware table writes and commits
- Latest snapshot metadata and snapshot file listing for backup, migration, and archival
- Native read-only Alibaba Cloud OSS filesystem support
Performance, Compatibility, and Platform Support
Read performance improvements include late materialization, enhanced caching and prefetching, and more efficient scan planning. Scan and prefetch metrics provide additional visibility into read behavior.
This release also improves Java interoperability and compatibility with nested data and file formats. Linux aarch64 builds are supported, alongside fixes for GCC Release compilation.
Compatibility Notes
- Public API changes affect table construction, custom catalog and filesystem implementations, and direct context construction. Review these interfaces when upgrading; use context builders where possible.
- The experimental
full-textindex replacestantivy-fulltext. Existing indexes of the old type must be rebuilt; enable the new backend withPAIMON_ENABLE_FULL_TEXTinstead ofPAIMON_ENABLE_TANTIVY. - BlobView dependency tables are now resolved through the catalog; the
blob-view-upstream-warehouseoption has been removed. - Batches returned by readers can outlive the reader. Consumers must retain the root Arrow array and schema as a complete ownership unit.
Real-Time Reads and Writes (Experimental)
Real-time reads and writes are experimental across all modes. Queries sharing an in-process RealtimeContext can read uncommitted data alongside committed files. Supported modes include append-only tables, primary-key tables, and append tables with user-defined-key deduplication. Optional spilling and offset-aware commit and recovery are also supported.
Real-time operations currently support only the main branch. Uncommitted data is visible only within the shared context; durability still depends on snapshot commits and replayable upstream input.
Source Release
The official Apache source release is available from:
Please use the official ASF source archive. The source archives automatically generated by GitHub are not official Apache release artifacts.
Acknowledgements
Thank you to everyone who contributed code, documentation, testing, reviews, release verification, and project infrastructure to Apache Paimon C++.
What's Changed
The changes summarized above cover the current release-0.4 branch since v0.3.0.