github StarRocks/starrocks 4.0.4

latest releases: 4.1.0, 4.0.9, 3.5.16...
3 months ago

4.0.4

Release Date: January 16, 2026

Improvements

  • Supports Parallel Prepare for Operators and Drivers, and single-node batch fragment deployment to improve query scheduling performance. #63956
  • Optimized deltaRows calculation with lazy evaluation for large partition tables. #66381
  • Optimized Flat JSON processing with sequential iteration and improved path derivation. #66941 #66850
  • Supports releasing Spill Operator memory earlier to reduce memory usage in group execution. #66669
  • Optimized the logic to reduce string comparison overhead. #66570
  • Improved skew detection in GroupByCountDistinctDataSkewEliminateRule and SkewJoinOptimizeRule to support histogram and NULL-based strategies. #66640 #67100
  • Enhanced Column ownership management in Chunk using Move semantics to reduce Copy-On-Write overhead. #66805
  • For shared-data clusters, added FE TableSchemaService and updated MetaScanNode to support Fast Schema Evolution v2 schema retrieval. #66142 #66970
  • Supports multi-warehouse Backend resource statistics and parallelism (DOP) calculation for better resource isolation. #66632
  • Supports configuring Iceberg split size via StarRocks session variable connector_huge_file_size. #67044
  • Supports label-formatted statistics in QueryDumpDeserializer. #66656
  • Added an FE configuration lake_enable_fullvacuum (Default: false) to allow disabling Full Vacuum in shared-data clusters. #63859
  • Upgraded lz4 dependency to v1.10.0. #67045
  • Added fallback logic for sample-type cardinality estimation when row count is 0. #65599
  • Validated Strict Weak Ordering property for lambda comparator in array_sort. #66951
  • Optimized error messages when fetching external table metadata (Delta/Hive/Hudi/Iceberg) fails, showing root causes. #66916
  • Supports dumping pipeline status on query timeout and cancelling with TIMEOUT state in FE. #66540
  • Displays matched rule index in SQL blacklist error messages. #66618
  • Added labels to column statistics in EXPLAIN output. #65899
  • Filtered out "cancel fragment" logs for normal query completions (for example, LIMIT reached). #66506
  • Reduced Backend heartbeat failure logs when the warehouse is suspended. #66733
  • Supports IF EXISTS in the ALTER STORAGE VOLUME syntax. #66691

Bug Fix

The following issues have been fixed:

  • Incorrect DISTINCT and GROUP BY results under Low Cardinality optimization due to missing withLocalShuffle. #66768
  • Rewrite error for JSON v2 functions with Lambda expressions. #66550
  • Incorrect application of Partition Join in Null-aware Left Anti Join within correlated subqueries. #67038
  • Incorrect row count calculation in the Meta Scan rewrite rule. #66852
  • Nullable property mismatched in Union Node when rewriting Meta Scan by statistics. #67051
  • BE crash caused by optimization logic for Ranking window functions when PARTITION BY and ORDER BY are missing. #67094
  • Potential wrong results in Group Execution Join with window functions. #66441
  • Incorrect results from PartitionColumnMinMaxRewriteRule under specific filter conditions. #66356
  • Incorrect Nullable property deduction in Union operations after aggregation. #65429
  • Crash in percentile_approx_weighted when handling compression parameters. #64838
  • Crash when spilling with large string encoding. #61495
  • Crash triggered by multiple calls to set_collector when pushing down local TopN. #66199
  • Dependency deduction error in LowCardinality rewrite logic. #66795
  • Rowset ID leak when rowset commit fails. #66301
  • Metacache lock contention. #66637
  • Ingestion failure when column-mode partial update is used with conditional update. #66139
  • Concurrent import failure caused by Tablet deletion during the ALTER operation. #65396
  • Tablet metadata load error due to RocksDB iteration timeout. #65146
  • Compression settings were not applied during table creation and Schema Change in shared-data clusters. #65673
  • Delete Vector CRC32 compatibility issue during upgrade. #65442
  • Status check logic error in file cleanup after clone task failure. #65709
  • Abnormal statistics collection logic after INSERT OVERWRITE. #65327 #65298 #65225
  • Foreign Key constraints were lost after FE restart. #66474
  • Metadata retrieval error after Warehouse deletion. #66436
  • Inaccurate Audit Log scan statistics under high selectivity filters. #66280
  • Incorrect query error rate metrics calculation logic. #65891
  • Potential MySQL connection leaks when tasks exit. #66829
  • BE status was not updated immediately on the SIGSEGV crash. #66212
  • NPE during LDAP user login. #65843
  • Inaccurate error log when switching users in HTTP SQL requests. #65371
  • HTTP context leaks during TCP connection reuse. #65203
  • Missing QueryDetail in Profile logs for queries forwarded from Follower. #64395
  • Missing Prepare/Execute details in Audit logs. #65448
  • Crash caused by HyperLogLog memory allocation failures. #66747
  • Issue with the trim function memory reservation. #66477 #66428
  • CVE-2025-66566 and CVE-2025-12183. #66453 #66362 #67053
  • Race condition in Exec Group driver submission. #66099
  • Use-after-free risk in Pipeline countdown. #65940
  • MemoryScratchSinkOperator hangs when the queue closes. #66041
  • Filesystem cache key collision issue. #65823
  • Wrong subtask count in SHOW PROC '/compactions'. #67209
  • A unified JSON format is not returned in the Query Profile API. #67077
  • Improper getTable exception handling that affects the materialized view check. #67224
  • Inconsistent output of the Extra column from the DESC statement for native and cloud-native tables. #67238
  • Race condition in single-node deployments. #67215
  • Log leakage from third-party libraries. #67129
  • Incorrect REST Catalog authentication logic that causes authentication failures. #66861

Don't miss a new starrocks release

NewReleases is sending notifications on new releases.