Release 3.1.2
New Features
Storage and Compression
- Configurable table compression type — allows selecting specific compression algorithms per table.
- Adaptive compaction write caching — dynamically tunes write caching during base compaction rowset flush.
Cloud and Object Storage
- Cloud mode query freshness control — adds user-defined tolerance between data latency and consistency.
- Object storage endpoint validation relaxed — enables private or custom storage endpoints.
Datalake
- OSS support for Datalake VPC Endpoints (
dlf/datalake-vpc)**.
- AWS Glue Catalog now supports accessing S3 via IAM AssumeRole.
- S3 Client updated to use
CustomAwsCredentialsProviderChainfor improved credential management.
Functional Enhancements
- Java UDF now supports IP type.
- BE REST API adds
RunningTasksoutput for monitoring.
- Transaction monitoring adds BRPC write-amplification metrics.
Optimizations
Query Execution and Planner
COUNT(\*)optimization** — automatically selects the smallest column to reduce scan load.
- Compaction skips empty rowsets to improve throughput.
- Warmup statistics add “skipped rowset” metric for better visibility.
Storage Layer
- Variant column cache added for sparse columns to speed up reads.
- Segment footer is now cached in Index Page Cache to reduce latency.
- Recycler supports parallel cleanup tasks to increase throughput.
Datalake
- Paimon Time Travel improved and schema mismatch fixed.
- Iceberg scan error messages refined and nested namespaces supported.
- Legacy DLF catalog properties removed.
- JSON Load now defaults to row-by-row parsing mode for line-based data.
Bug Fixes
Datalake
- Fixed Iceberg system table classloader error.
- Fixed Iceberg partition table failure when no partition values exist.
- Fixed S3A catalog not using IAM AssumeRole profile properly.
- Disabled Hadoop FileSystem cache for multi-config object storage catalogs.
Query Execution and SQL Engine
- Fixed
COUNTpushdown logic error.
- Fixed
UNIONlocal shuffle behavior bug.
- Fixed crash in
INpredicate for OLAP storage types.
- Fixed
timestampdiffcomputation error fordatetimev1.
- Fixed crash caused by
explode()function.
Storage and Load
- Fixed S3 Load check failure when no source file exists.
- Fixed FileCache cleanup crash.
- Fixed delete bitmap not cleared in MOW compression.
- Fixed Outfile bz2 compression failure for small files.
Cloud and Recycler Mechanism
- Fixed Warmup skipping multi-segment rowsets.
- Fixed CloudTablet Warmup coredump on reference capture.
- Fixed Recycler null pointer crash in cleanup task.
- Fixed uncaught partition boundary error in Cloud mode.
System and Miscellaneous
- Fixed incorrect Prometheus metric format in FE.
- Fixed auto-increment value incorrect after FE restart.
- Fixed
SHOW CREATE VIEWmissing column definitions.
- Fixed HDFS Reader crash when sampling Profile data.