StarRocks

Databases & DataApache-2.0

Query engine for sub-second analytics.

Latest 4.0.17 · by StarRocksWritten in JavaWebsiteStarRocks/starrocksRSS

Release activity

Release activity — 15 releases across 10 days since Jun 9, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Jun 9, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026
MondayNo releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 20261 release on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026
Tuesday1 release on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 20265 releases on Nov 3, 2026
WednesdayNo releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026
Thursday1 release on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 20261 release on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 20261 release on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026
FridayNo releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026
SaturdayNo releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026

15 releases since Jun 9, 2026, busiest day 5

Branches

4.1
4.1.7
4.0
4.0.17
3.5
3.5.21

Changelog

What changed from 3 to 4
Filter releases by branch
15 of 15 releases

4.0.17

Latest
Changed 7
  • The default value of the BE configuration spill_max_dir_bytes_ratio is lowered from 0.8 to 0.5, limiting spill on a disk shared with storage_root_path to 50% of disk capacity
  • Explicit CAST(x AS CHAR(N)) truncates the result to the first N characters, consistent with MySQL
  • A SHOW statement whose LIMIT offset is past the end of the result returns no rows
  • A custom_query_id set through a SET_VAR hint is recorded in the audit log
  • The transaction stream load endpoint rejects a non-boolean partial_update header instead of treating it as false
  • Bloom filter columns of unsupported types are rejected when the column type is changed, instead of failing the schema change later
  • Materialized view behavior changes include logging lastRefreshTime instead of recomputing it on replay, comparing list-partition drift against the live table, refreshing MV partitions that outlived a dropped base partition, ignoring the legacy MV task postRun during refresh, and supporting cloud-native tables in adaptive partition refresh
Fixed 10
  • yearweek(str_to_date('0000-01-00', '%Y-%m-%d')) and similar inputs with a zero month or day return NULL instead of crashing the BE in ASAN/debug builds
  • SHOW ALTER TABLE OPTIMIZE ... ORDER BY resolves the column against the columns of its own result instead of those of SHOW ALTER TABLE COLUMN
  • SHOW statements backed by proc directories check that each row's width matches the column headers
  • sys.fe_memory_usage is populated by collecting memory usage when queried instead of reading an empty map
  • COM_STMT_CLOSE reads the statement ID in little-endian order, so closed prepared statements are released from the connection instead of being retained
  • NGRAMBF pushdown is disabled for NOT, so NOT LIKE no longer drops pages that satisfy the predicate
Security 6
  • Credential values are masked in the BE /varz endpoint, information_schema.be_configs, FE ADMIN SHOW FRONTEND CONFIG output and /variable endpoint, BE HTTP request logs, and values echoed by BE /api/update_config, /api/_set_config, and ADMIN SET FRONTEND CONFIG
  • Sensitive query parameters are no longer written to logged request URIs, and request URIs are sanitized with the same query parser as the actions that serve them
  • Values shown in the FE web console (shared table renderer, /query, /system, and admin- and host-provided values) are HTML-encoded, and the /system page looks up the raw proc path
  • The FE /dump, /dump_starmgr, and /service_id endpoints now apply an admin check
  • lookup_string runs its internal query with the caller's identity and escapes its arguments to prevent SQL injection
  • The tablet metadata dump endpoint /api/cloudnative/dump_tablet_metadata is restricted to metadata already present in the local cache of the selected CN

From StarRocks

Release Date: October 24, 2026

Behavior Changes
  • Credential values are now masked in the BE /varz endpoint, information_schema.be_configs, the FE ADMIN SHOW FRONTEND CONFIG output and /variable endpoint, BE HTTP request logs, and the values echoed back by BE /api/update_config, BE /api/_set_config, and ADMIN SET FRONTEND CONFIG. #80040 #80097 #80203 #80280 #80444 #80492
  • Sensitive query parameters are no longer written to the request URIs that the HTTP layer logs, and request URIs are sanitized with the same query parser as the actions that serve them. #80515 #80461
  • Values shown in the FE web console (shared table renderer, /query, /system, and admin- and host-provided values) are now HTML-encoded, and the /system page looks up the raw proc path. #80565 #80582 #80639 #80648 #80656
  • The FE /dump, /dump_starmgr, and /service_id endpoints now apply an admin check. #80701 #80749
  • lookup_string now runs its internal query with the caller's identity and escapes its arguments to prevent SQL injection. #79959 #79991
  • The tablet metadata dump endpoint /api/cloudnative/dump_tablet_metadata is restricted to metadata already present in the local cache of the selected CN. #78449
  • The default value of the BE configuration spill_max_dir_bytes_ratio is lowered from 0.8 to 0.5, so spill on a disk shared with storage_root_path is limited to 50% of the disk capacity. #80189
  • Explicit CAST(x AS CHAR(N)) now truncates the result to the first N characters, consistent with MySQL. #75909
  • yearweek(str_to_date('0000-01-00', '%Y-%m-%d')) and similar inputs with a zero month or day now return NULL instead of crashing the BE in ASAN/debug builds. #78358
  • A SHOW statement whose LIMIT offset is past the end of the result now returns no rows. #79764
  • SHOW ALTER TABLE OPTIMIZE ... ORDER BY now resolves the column against the columns of its own result instead of those of SHOW ALTER TABLE COLUMN. #79687
  • SHOW statements backed by proc directories now check that each row's width matches the column headers. #79619
  • sys.fe_memory_usage is now populated by collecting memory usage when queried instead of reading an empty map. #79809
  • COM_STMT_CLOSE now reads the statement ID in little-endian order, so closed prepared statements are released from the connection instead of being retained. #79860
  • A custom_query_id set through a SET_VAR hint is now recorded in the audit log. #79871
  • NGRAMBF pushdown is disabled for NOT, so NOT LIKE no longer drops pages that satisfy the predicate. #79243
  • The transaction stream load endpoint now rejects a non-boolean partial_update header instead of treating it as false. #79350
  • A non-positive compact_threads value is now rejected instead of crashing the CN. #79641
  • Dropping a Primary Key tablet no longer increments primary_key_table_error_state_total. #79558
  • With enable_short_circuit, a point lookup whose IN list repeats a key now returns the row once. #80318
  • Bloom filter columns of unsupported types are now rejected when the column type is changed, instead of failing the schema change later. #80871
  • An analyze job now keeps collecting the remaining tables after one table fails, instead of ending the round at the first failure. #81028
  • Materialized view (MV) behavior changes: lastRefreshTime is logged instead of recomputed on replay; the version-map repair is no longer skipped by the physical partition id lookup; list-partition drift is compared against the live table; MV partitions that outlived a dropped base partition are refreshed; the legacy MV task postRun is ignored during refresh; and adaptive partition refresh supports cloud-native tables. #78467 #78469 #78470 #79057 #79943 #80270
  • GCS Broker Load with an inline service account key now works with gcs-connector 3.x. #78649
  • Failed multi-table transaction stream load commits now report their errors correctly. #80351
  • The LDAP group provider stays usable after an FE restart and when Active Directory returns referrals. #80361
  • A broken Ranger audit configuration no longer fails catalog access, and the ZooKeeper classes that Solr audit needs are shipped with the FE. #81075 #77294
  • Standalone vector index files are now copied during rowset migration. #80391
  • Peer cache data is now copied to the output when datacache_block_buffer_enable is false, and memory cache writes into free space are accepted regardless of the evict probability. #80438 #80542
  • Primary Key compaction no longer overflows the row source mask when there are more than 32,767 sources. #80472
  • Internal statistics DML now binds its own context, so DROP STATS in an external catalog session no longer reports Unknown database '_statistics_'. #80473
  • Driver capacity is now reserved before drivers and operators are instantiated, so a fragment that exceeds the limit is rejected before it allocates them. #80495
  • hasDelete is now restored when visible DELETE transactions are applied. #80592
  • The FE brpc client now uses com.starrocks:jprotobuf-rpc-core, so an OutOfMemoryError no longer leaves event loops dead and makes exec_plan_fragment requests wait for their full timeout. #80684
  • Heavy expressions that depend on each other are no longer pushed down. #80710
  • /greplog now supports year-prefixed glog entries. #80990
Improvements
  • A table can now opt out of automatic statistics collection. #81027
  • A fragment's plan is now serialized once for all of its instance requests. #80716
Bug fixes

The following issues have been fixed:

  • Materialized view refresh issues: partition cache in Paimon did not distinguish tables, which caused wrong results when an MV refresh covered multiple tables. #61763
  • Materialized view issues involving MV version maps, base-table partition churn, batched refresh, inactivation journaling, task scheduling, lock timeouts, shared-data base partition versions, TRUE transparent rewrite, and archived task run history. #79945 #80893 #80944 #81030 #81033 #81034 #81036 #81088
  • A query could fail with Vectorized engine does not support the operator, node_type: 0 because an MV rewrite left an aggregate in a projection. #79611
  • Metadata lock races and gaps in the planner, ALTER VIEW, INSERT OVERWRITE, MV refresh, and other FE metadata paths. #80784 #80786 #80891 #80892 #80943 #81037
  • information_schema.views queries failed when Ranger authorization was enabled because of a database-wide read lock. #78344
  • A Primary Key table column check failed to account for a generated column. #69054
  • Iceberg issues: decimal manifest bounds are now encoded with the minimum-length two's-complement form; time travel is kept when the SQL dialect is Trino; a table cache refresh no longer overwrites a concurrent invalidation; the metadata cache executor and REST catalog are closed on shutdown; and a nested REST namespace dropped during listing is skipped. #78456 #79171 #79968 #80598 #80712 #80846
  • Hive issues: INSERT no longer misses source rows and SELECT * no longer drops resource-mapping Hive columns. #81032
  • Data-driven allocations in the Parquet, ORC, and CSV read paths are now bounded by the query memory limit. #78573
  • Parquet nested type edge cases in schema resolution, inference, writer, and reader, and ORC TINYINT min/max statistics on platforms with unsigned char. #80085 #81086
  • CSV files are no longer split into byte ranges when enclose or escape is set. #80386
  • INSERT INTO FILES now allows duplicate output column names when unloading to CSV. #79897
  • INSERT OVERWRITE now reports a clear error when a source partition is gone at commit. #79902
  • JSON extended columns are no longer registered on the shared catalog table, which could crash the BE and corrupt catalog state during INSERT ... SELECT and MV refresh. #78611
  • A corrupted local cache is now dropped when a shared-data txn log read hits corruption. #78733
  • A GTID and partition version epoch are now generated only on the leader FE. #78799
  • Shared buffer reuse after failed remote reads, and the filesystem connection on cache eviction. #79965 #80087
  • BE or CN crashes and hangs: a cancelled spillable hash join probe, a cancelled load spill merge task that left the BE unable to exit, CUBE with an only-null constant group-by key, MemSpaceMonitor on BE startup failure, convert_hash_set_to_chunk read overflow, a hash join partition outgrowing 32-bit binary offsets, a lost sink wake-up in local exchange, a Primary Key get_compaction_status race, and a leaked MultiGet index block iterator. #79085 #79360 #79499 #79691 #80709 #80489 #80547 #80167 #79380
  • EvHttpServer closed unrelated file descriptors on shutdown. #79699
  • A memtable now counts only the rows it receives toward its row limit. #79705
  • QueryCumulativeCpuTime and QuerySpillBytes were counted once per fragment instance. #79774
  • A Primary Key distinct rewrite no longer drops other aggregates. #79895
  • An outer join is converted, and filters and join predicates are kept, correctly in the presence of NULL rejection, LIMIT, top-n, window, ASOF join, and join reorder. #79974 #80303 #80510 #80511
  • NULL-passing runtime filters are no longer pushed below RepeatNode on nulled grouping keys. #80051
  • Window function errors are now checked before an analytic result chunk is published. #81022
  • Cardinality estimation of join and range predicates. #80242
  • Statistics issues: unloaded or failed statistics are no longer cached as no statistics, AnalyzeMgr.clearStalePartitionStats no longer throws IllegalStateException when no table needs cleaning, and a connector query-triggered analyze no longer leaks a running task. #80236 #80265 #80329
  • A finished transaction is enqueued only once in finalStatusTransactionStateDeque, and 0-row commits no longer count the whole table as loaded rows. #79988 #80182
  • information_schema.columns with LIMIT is now answered from the queried catalog. #80448
  • CANCEL ALTER TABLE ROLLUP without ids now cancels all rollup jobs. #80450
  • The brpc future timeout contract is restored. #80783
  • The primary index cache is now resized correctly by update_memory_limit_percent. #81067
  • Upgraded StarOS and starlet to v4.0.9. #80376
  • Fixed a ZooKeeper version conflict. #79718
  • Security vulnerabilities fixed by bumping dependencies: ZooKeeper to 3.8.7 and 3.9.6, the broker Tomcat to 9.0.121, BouncyCastle to 1.86, jackson to 2.21.7, zstd-jni to 1.5.7-15, parquet to 1.18.1, and lz4-java to 1.11.4. #79707 #79719 #80248 #80319
View originalPermalink
How 4.0.17 went

4.0.16

Added 1
  • Audit log rows carry scanBytes, scanRows, returnRows, cpuCostNs, and memCostBytes for DML on external Iceberg or Hive tables, the FILES() table function, and asynchronous materialized-view refreshes
Changed 13
  • Default HTTP client for the AWS SDK switched from Poco back to the SDK's own client; enable_poco_client_for_aws_sdk now defaults to false
  • jemalloc dedicated oversize arena is enabled by default so large allocations no longer land in the per-CPU arena of the calling thread
  • Shared-data transactions whose combined txn log was not fully written are refused at commit instead of committing and failing publish forever; replication_num no longer weakens the shared-data write quorum
  • Shared-data partitions advance straight to the final version of a batch publish instead of through each intermediate version
  • Shared-data publish retries back off and throttle retry logging instead of emitting the previous-publish-not-finished message on every attempt
  • Shared-data loads cancelled by a user error report that error instead of the derived AsyncDeltaWriter has been closed message
Fixed 7
  • List partition pruning of !=, NOT IN, and IS NOT NULL no longer discards multi-value partitions whose value list contains NULL, restoring lost non-null rows
  • Batch DDL can build date range partitions starting at year 0000 instead of failing with the range of the partition is invalid
  • Serialized datetime partition bounds keep their microseconds after an operator-precedence error in the shift calculation is corrected
  • paimon.option.cache-enabled = false disables the Paimon metadata cache again
  • VARCHAR columns of Paimon tables report the length declared in the Paimon schema
  • ALTER TABLE RENAME on an Iceberg REST catalog no longer fails with a NullPointerException
  • Reading the $partitions metadata table of an Iceberg table with a DECIMAL partition field or a null timestamptz partition value no longer fails with a NullPointerException
View originalRead the notes
How 4.0.16 went

4.1.7

Added 5
  • Added the table property enable_statistic_auto_collect to exclude a table from automatic statistics collection when set to false with CREATE TABLE or ALTER TABLE
  • LDAP and Active Directory user and group names can be matched case-insensitively via the new FE configuration authentication_ldap_case_insensitive (default false)
  • Added ALTER GROUP PROVIDER to update the properties of a group provider in place
  • Colocate aggregation and window functions can be planned on range-colocate tables
  • Backported tablet pre-split improvements with new FE configurations tablet_pre_split_data_tier_scan_byte_limit, tablet_pre_split_data_tier_min_scan_files, tablet_pre_split_data_tier_max_scan_files, and tablet_pre_split_meta_tier_footer_read_parallelism
Changed 12
  • Local Primary Key inserts no longer check immutable L1 and L2 persistent-index files for duplicate keys by default via the new BE configuration skip_pindex_l1_l2_check_in_insert (default true); L0 checks are always performed
  • BE JVM metrics are enabled by default (enable_jvm_metrics now defaults to true) and are collected only once a JVM exists
  • The default of spill_max_dir_bytes_ratio is lowered from 0.8 to 0.5, so spill uses at most 50% of each spill directory's capacity
  • Lake replication file copies run in a dedicated CN-wide pool; lake_replication_file_copy_threads defaults to 16 instead of 0, and the new lake_replication_max_parallel_files_per_tablet (default 4) bounds parallel file copies per tablet
  • Delete-triggered base compaction of shared-data Primary Key tablets is now opt-in via the new BE configuration lake_pk_compaction_base_enable_delete_trigger, which defaults to false
  • When pk_index_parallel_execution_threadpool_max_threads is 0, the Primary Key index parallel execution pool is sized to all CPU cores instead of half of them
Fixed 1
  • CAST(x AS CHAR(N)) now truncates the result to N characters, consistent with MySQL, in both FE constant folding and BE execution
Security 5
  • Credential values are masked in configuration and task definition displays and logs, including ADMIN SHOW FRONTEND CONFIG, FE /variable, BE /varz, information_schema.be_configs, task_run_history, HTTP logs, and values set via ADMIN SET FRONTEND CONFIG, FE /api/_set_config, and BE /api/update_config
  • The FE HTTP endpoints /service_id, /dump, and /dump_starmgr now require an admin user
  • Bumped pprof to release/20261012
  • Bumped lz4-java to 1.11.4
  • Bumped BouncyCastle to 1.86, Jackson to 2.21.7, zstd-jni to 1.5.7-15, and Parquet to 1.18.1
View originalRead the notes
How 4.1.7 went

4.1.6

Changed 11
  • Default HTTP client for the AWS SDK switched from Poco back to the SDK's own client; enable_poco_client_for_aws_sdk now defaults to false
  • Online optimize table is opt-in; the FE config enable_online_optimize_table defaults to false, so ALTER TABLE ... DISTRIBUTED BY ... blocks writes unless enabled
  • jemalloc's dedicated oversize arena is enabled by default, so large allocations no longer land in the per-CPU arena of the calling thread
  • Shared-data tablet metadata and transaction log files are written with an Adler-32 checksum by default via lake_enable_protobuf_file_checksum
  • Shared-data primary-key loads mixing UPSERT and DELETE rows for the same key preserve in-transaction order by default via lake_enable_pk_preserve_txn_delete_order
  • Multi-table transactions participate in shared-data batch publish instead of publishing one transaction at a time
Fixed 9
  • Shared-data partitions advance directly to the final version of a batch publish, so queries no longer request an intermediate version lacking tablet metadata ('The specified key does not exist')
  • Shared-data column-upsert publish that supersedes its own segments merges the delete vector, preventing duplicate live rows for one primary key
  • Shared-data primary-key index compactor no longer stops silently while flushes keep producing sstables, which had caused unbounded persistent index growth
  • Parquet null_count that under-reports NULLs is no longer trusted during decoding and pruning, fixing corrupted values or dropped rows in files written by older parquet-mr versions
  • List partition pruning of !=, NOT IN, and IS NOT NULL no longer discards multi-value partitions whose value list contains NULL, restoring lost non-null rows
  • Batch DDL can build date range partitions starting at year 0000 instead of failing with 'the range of the partition is invalid'
View originalRead the notes
How 4.1.6 went

4.1.4

Added 1
  • Routine Load supports an INCLUDE METADATA clause to expose Kafka/Pulsar message metadata such as partition, offset, and timestamp
Changed 10
  • In shared-data mode, the TABLESAMPLE / SAMPLE clause and ANALYZE SAMPLE TABLE now take effect on lake tables instead of performing a full scan
  • ALTER TABLE changes to the flat_json configuration are now propagated to BE nodes through a versioned task so they take effect reliably
  • ANALYZE ... UPDATE HISTOGRAM ON no longer computes histograms for char-family columns and computes only MCVs, reducing analyze cost
  • rewrite_manifests now clusters output manifests by order-preserving partition ranges, producing tighter per-manifest partition bounds and better manifest pruning
  • Multi-table stream load now honors each table's file_bundling property when deciding whether to use a combined transaction log
  • Array and map constructors now raise an error instead of silently corrupting data when the flattened result of a chunk exceeds 4 GB
Fixed 14
  • NOT MATCH predicates answered by a GIN inverted index no longer return NULL rows
  • A GIN inverted index combined with column-mode partial update on a Primary Key table no longer returns corrupted results
  • array_difference on integer arrays computes adjacent differences in 64-bit before widening to BIGINT, fixing int32 overflow
  • Division expressions with a non-constant divisor are no longer treated as monotonic, fixing incorrect ZoneMap pruning
  • Primary Key inserts now correctly reject keys that already exist in the L1/L2 persistent index
  • Sample-based tablet pre-split on range-colocate tables spreads new shards across compute nodes, fixing range batch imports that were roughly 3x slower than hash
View originalRead the notes
How 4.1.4 went

4.1.3

Added 4
  • Routine Load supports the property.kafka_partition_discovery property, allowing partition auto-discovery to continue when kafka_partitions and kafka_offsets are specified
  • Incremental materialized views support bitmap_agg, hll_union, percentile_union, and bitmap_union aggregate functions
  • The ngram_search function accepts a non-constant needle argument
  • An HTTP authentication framework controlled by the enable_http_auth FE configuration gates authentication and RBAC enforcement on all external HTTP endpoints
Changed 14
  • CTAS now preserves explicitly declared VARCHAR(N) column lengths instead of widening them to VARCHAR(MAX); existing tables are unaffected and new CTAS tables enforce the declared length on subsequent writes
  • Querying sys.fe_memory_usage or sys.fe_locks without the OPERATE ON SYSTEM privilege now returns a clear access-denied error instead of a misleading node-lookup failure
  • FILES() and broker/stream load no longer apply a session timezone shift to INT64 Parquet timestamps written with isAdjustedToUTC=false; such timestamps are treated as wall-clock values and loaded as-is
  • When property.kafka_default_offsets is not set, the default starting offset for partitions discovered after a job has consuming progress changes from OFFSET_END to OFFSET_BEGINNING for all auto-discovery jobs
  • Non-group-by aggregates are pushed down through UNION ALL branches before merging, reducing network transfer and memory usage
  • IVM maintenance queries are re-derived from the current view definition at each refresh instead of the frozen query text stored at CREATE time, so existing MVs benefit from rewriter fixes without being recreated
Fixed 3
  • Successfully committed multi-table transaction stream load jobs are now shown as VISIBLE in information_schema.loads and SHOW STREAM LOAD instead of remaining stuck at PREPARING
  • Connector incremental scan range scheduling now reuses the deployed fragment's driver layout, preventing scan ranges from being assigned to non-existent drivers
  • LIKE constant-folding now matches MySQL 8 backslash-escape semantics, correcting cases such as 'a\\b' that previously returned opposite results
View originalRead the notes
How 4.1.3 went

3.5.21

Changed 5
  • Reverted the 3.5.20 change that cached Iceberg REST vended-credential tables and kept their credentials fresh, because it caused INSERT OVERWRITE transactions against slow Iceberg REST catalogs to stay COMMITTED but not VISIBLE for several seconds; the caching remains on the 4.x line
  • Audit logs for statements forwarded to the leader FE now record the leader-resolved, fully qualified table relations (with CTEs excluded) instead of the follower's unresolved names
  • The configured compression codec now applies to the synthetic null/offset sub-columns of flat JSON, ARRAY, MAP, and STRUCT columns instead of always writing them as uncompressed raw pages
  • Materialized views no longer force a full-partition refresh when manually set from INACTIVE to ACTIVE; only the metadata version map is cleared during a schema change
  • Large-column-capacity-limit error messages no longer expose internal diagnostics such as raw pointers and operator dumps, and a typo in the shared status string was fixed
Fixed 17
  • GIN (inverted) indexes on Primary Key tables now read from the correct segment after a column-mode partial update instead of serving stale index data from the unmodified base segment
  • ARRAY and MAP constructor expressions now reject a result whose flattened size exceeds 4 GB instead of silently wrapping around and returning corrupted values
  • Iceberg REST catalogs using OAuth2 client-credentials now self-heal their background token-refresh session after a prolonged failure instead of remaining permanently unable to refresh the access token
  • External scan contexts (such as abandoned Spark/Flink connector reads) now cancel their pipeline fragments when reaped as expired instead of leaving them running
  • External scan plans (Spark/Flink connector reads) now set query_delivery_timeout so their QueryContext no longer waits indefinitely for fragments that will never arrive
  • array_difference() on integer arrays no longer overflows in 32-bit precision before widening to BIGINT, fixing incorrect results when the true difference falls outside the INT range
View originalRead the notes
How 3.5.21 went

4.0.14

Added 3
  • Support for complex types (ARRAY, MAP, and STRUCT) in Paimon tables
  • LAST_REFRESH_TIME column in information_schema.materialized_views and SHOW MATERIALIZED VIEWS reporting the data-freshness timestamp used by the mv_rewrite_staleness_second check
  • Mutable BE configuration item object_storage_client_cache_size (default 8) replacing the hard-coded capacity of the S3 and Azure Blob client caches
Changed 10
  • Static partition clauses in INSERT into Iceberg or Hive tables are validated even when a target column list is given, rejecting clauses naming non-partition columns with a clear error
  • ARRAY and MAP constructors fail with a CapacityLimitExceed error when the flattened result of a single chunk exceeds the addressable byte limit instead of silently returning corrupted values
  • Under zstd compression, flat JSON sub-columns and synthetic null and offset sub-columns of ARRAY, MAP, and STRUCT columns are now compressed, with the change applying only to segments written after the upgrade
  • The Iceberg partition cache is bounded by memory through the new catalog property iceberg_partition_cache_memory_usage_ratio (default 0.1) and its footprint is reported in /api/memory_usage and minute-level memory logs
  • FE memory estimation counts internal overhead of maps and collections, so weight-bounded caches report their true footprint and evict earlier for the same memory usage ratio
  • Keep-alive GC cancels the corresponding pipeline fragment when it reaps an expired external scan context, releasing buffered scan memory within keep_alive_min plus one GC interval
Fixed 3
  • Division expressions with a non-constant divisor are no longer treated as monotonic, preventing incorrect Zone Map pruning that dropped rows satisfying the predicate
  • NOT MATCH on a column with a GIN inverted index no longer returns rows whose value is NULL, aligning with SQL three-valued logic
  • The Operation column of SHOW ALTER TABLE OPTIMIZE shows a readable description of the optimize operation instead of an internal object address
View originalRead the notes
How 4.0.14 went

3.5.20

Added 1
  • FE metric txn_max_committed_pending_publish_ms, a per-database gauge reporting the longest time a committed transaction has been pending publish, to help diagnose stuck or lagging version publishing
Changed 5
  • CREATE DATABASE IF NOT EXISTS on Iceberg REST catalogs now succeeds silently when the database already exists instead of raising an error
  • Iceberg REST catalogs with vended credentials now cache Table objects and keep their credentials refreshed on access instead of re-fetching from the REST catalog or Lake Formation on every getTable() call, which could trigger AWS Rate exceeded errors
  • GIN inverted-index-accelerated NOT MATCH predicates no longer return rows with a NULL value, matching SQL three-valued-logic semantics
  • The query memory limit is enforced when a column is upgraded (widened) during window-function aggregation in Analytor instead of growing unbounded
  • Removed useless per-rowid seeks in the array-column offsets-only read path used by array_length() and cardinality()
Fixed 27
  • EliminateSortColumnWithEqualityPredicateRule no longer drops the global LIMIT under concurrency
  • SplitJoinORToUnionRule no longer produces duplicate rows for a null-safe-equal (<=>) JOIN ON p1 OR p2
  • JIT codegen no longer truncates LARGEINT literals >= 2^64 to 64 bits
  • array_map and transform no longer silently drop NULL rows when all non-null input arrays were empty
  • Nested dictionary expressions are rebuilt consistently across exchange fragments, fixing dict-decode failures
  • A LIKE pattern with the _ wildcard no longer returns wrong rows on a GIN inverted index
View originalRead the notes
How 3.5.20 went

4.0.13

Added 4
  • Checksum protection for shared-data tablet metadata and transaction logs
  • Combined transaction log and file bundling for FRONTEND_STREAMING loads
  • An FE metric for the maximum pending-publish time of committed transactions
  • A memory limit check for column upgrades in window operator processing
Changed 8
  • The escape handling of LIKE predicates with constant operands (folded on the FE) now matches MySQL 8, so SELECT 'a\b' LIKE 'a\\b' returns 1 and SELECT 'a\b' LIKE 'a\b' returns 0
  • SHOW [FULL] FUNCTIONS now always includes the isolation property (shared or isolated) in the Properties column of UDFs
  • Iceberg REST catalogs with vended credentials use the table metadata cache again, reverting the earlier cache bypass; cached tables renew credentials on every refresh cycle
  • The table cache expiry for Iceberg REST catalogs is capped at 3000 seconds
  • Shared-data schema-change job locks are scoped to the table to reduce lock contention
  • Batch tablet force-delete marking acquires the TabletInvertedIndex write lock once per batch instead of once per tablet
  • Removed unnecessary per-row seeks in the offsets-only read path of array columns
  • Foreground row-count estimation of Iceberg tables is computed from manifest metadata without enumerating every data file
Fixed 16
  • Incremental scan-range scheduling could lose rows by recomputing a different per-driver layout when reusing a deployed fragment instance
  • INT96 timestamps nested inside ARRAY/MAP/STRUCT in Parquet files read via FILES() or Broker Load are now converted with the session timezone
  • The audit log now records the exported row count of SELECT INTO OUTFILE
  • A strict cast no longer raises an overflow error from the underlying data of NULL rows
  • parse_json now respects the ALLOW_THROW_EXCEPTION setting when handling invalid input
  • An explicitly set table property for first-load statistics collection now takes precedence over the global configuration enable_statistic_collect_on_first_load
Security 3
  • Excluded the vulnerable org.jline:jline (jline-remote-telnet) from Hadoop transitive dependencies
  • Upgraded jackson-databind to 2.21.4
  • bar() now rejects negative or huge width inputs with an error instead of growing memory without bound
View originalRead the notes
How 4.0.13 went

3.5.19

Added 4
  • Support for loading Arrow LARGE_LIST and FIXED_SIZE_LIST columns into JSON columns via FILES() and Broker Load
  • An opt-in statistics_large_string_column_merge_threshold to isolate wide CHAR/VARCHAR columns into dedicated statistics collection
  • New metrics for lake vacuum batch size and retry counts, and gauges for CatalogRecycleBin size
  • Support for auditing a statement twice
Changed 5
  • parse_json now respects ALLOW_THROW_EXCEPTION so malformed JSON fails the query instead of silently producing NULL
  • FILES() and Broker Load now honor the Parquet isAdjustedToUTC=false flag for INT64 timestamps so they are no longer shifted by the session time zone
  • SHOW FUNCTIONS now surfaces the isolation property (shared or isolated) for Java UDFs and UDAFs
  • The non-reserved keywords FLOOR and CEIL are now allowed as column names
  • base64_to_bitmap is optimized for constant inputs and hardened against invalid base64-encoded bitmaps
Fixed 19
  • Low-cardinality dictionary translation for expressions where f(NULL) is not NULL returned wrong results
  • A 'Multiple entries with same key' error from common-subexpression elimination of commutative AND/OR is fixed
  • An 'AGGREGATE has mismatch types' error is fixed
  • A compound predicate with an always-false nested branch under UNION no longer returns no rows incorrectly
  • An off-by-one that dropped a row in RANK TopN at a chunk boundary is fixed
  • Aggregate materialized views with a HAVING clause no longer rewrite queries without (or with weaker) HAVING
View originalRead the notes
How 3.5.19 went

4.0.12

Added 6
  • ngram_search supports a non-constant needle, so the search term can be a column expression
  • The Arrow-to-JSON converter supports LARGE_LIST and FIXED_SIZE_LIST types
  • An opt-in option isolates wide-string columns during statistics collection to reduce memory pressure
  • information_schema.COLUMNS now populates the DATETIME_PRECISION field
  • Catalog recycle bin size gauge metrics are added
  • Vacuum batch-size and retry-count metrics are added, and decorrelated jitter is added to the lake vacuum retry backoff to reduce retry storms
Changed 11
  • Reading INT64 timestamps from Parquet files written with isAdjustedToUTC=false no longer shifts values by the session timezone offset, so they are read as wall-clock values, consistent with Trino, Spark, and Impala
  • CTAS now preserves the declared VARCHAR(N) length when the source carries an explicit user length, instead of widening it to VARCHAR(1048576); materialized view materialization still widens columns
  • The Paimon connector now respects the session variable connector_max_split_size when calculating scan splits
  • base64_to_bitmap is folded at constant-evaluation time for constant inputs
  • Database read locks are relaxed to table-scoped intensive locks in InformationSchemaDataSource and FrontendServiceImpl to improve concurrency
  • Database write locks are narrowed to table-scoped intensive write locks for shared-nothing clusters, and replica row-count updates are scoped to the table lock
Fixed 9
  • Successfully committed multi-statement transaction stream loads no longer show as PREPARING forever in information_schema.loads and SHOW STREAM LOAD
  • Rows are no longer silently dropped from information_schema.loads on clusters whose session timezone differs from Asia/Shanghai
  • The COMMIT of an explicit transaction now waits seconds, not milliseconds, for the database write lock due to a unit mismatch
  • current_timestamp and now() column defaults are no longer displayed as a frozen literal after ALTER TABLE ... ADD COLUMN or lost across FE restarts or edit-log replay
  • Querying sys.fe_memory_usage or sys.fe_locks without the OPERATE ON SYSTEM privilege returns a clear access-denied error instead of a misleading RPC-failure message
  • Automatic per-key Hive partition stats refresh no longer overloads the Hive Metastore for tables with many partitions
Security 1
  • Third-party dependencies are upgraded to address CVEs: Netty to 4.1.135.Final, Tomcat to 9.0.118, and Thrift to 0.23.0
View originalRead the notes
How 4.0.12 went

4.1.1

Added 20
  • Java UDF/UDAF/UDTF support for STRUCT arguments and return values for UDAF/UDTF, nested ARRAY/MAP types, DATE/DATETIME, DECIMAL, and varargs
  • Scalar UDFs support STRUCT arguments
  • Python UDFs support nested ARRAY/MAP types
  • Supports the Trino WITH clause in CTAS statements
  • Completed Iceberg timestamptz partition transform support on the sink path
  • TopN runtime filter pushdown is enabled for Iceberg table aggregation
Changed 10
  • The Hive connector uses a native C++ Avro scanner instead of the JNI Avro scanner by default
  • Query rewrite over INCREMENTAL/AUTO materialized views is disabled, and FORCE refresh and partition refresh are rejected for INCREMENTAL/AUTO materialized views
  • UDAFs are loaded and initialized once and reused across queries, reducing per-query overhead
  • Replaced the JNI Avro scanner with a native C++ scanner for the Hive connector, with direct binary decoding and support for avro.schema.literal and avro.schema.url
  • Fails fast for unsupported Iceberg V3 features
  • Routine Load jobs are paused on non-retryable errors, such as primary key size exceeded
View originalRead the notes
How 4.1.1 went

3.5.18

Added 4
  • Supports caching Java UDAF class-level initialization so shared UDAFs can reuse loaded classes and generated stubs across aggregator and window-function instances
  • Supports Paimon time types and improves Paimon materialized view handling
  • Added an Avro schema cache for shadowed PartitionData during partition load
  • Added a configurable FE write timeout mysql_send_packet_timeout_ms for the MySQL result send path to prevent indefinitely blocked result sending to slow clients
Changed 10
  • SHOW statements are now allowed inside explicit transactions
  • get_json_string now respects ALLOW_THROW_EXCEPTION when handling JSON parsing errors
  • IGNORE NULLS is now preserved in view definitions when the window function argument is an expression
  • Ranger row filter and masking policies are now correctly applied to Hive views and to base tables expanded from Hive view definitions
  • Hive partition statistics are no longer automatically refreshed per partition; existing cached stats are preserved while a table-level asynchronous refresh updates the cache in batches
  • Optimized CatalogRecycleBin adjusted recycle timestamp lookup
Fixed 7
  • Empty ALTER TABLE statements could be parsed as OPTIMIZE clauses, and replaying malformed OPTIMIZE jobs could clear a table's default distribution
  • Decimal-valued unit counters in runtime profiles could cause query progress parsing failures and noisy FE warnings
  • Concurrent SegmentFlushTask race in DeltaWriter::commit() and loss of merge_condition during normal rowset commit
  • Crashes, hangs, or unsafe cleanup in SinkBuffer graceful exit, PipelineTimerTask, runtime filter workers, spillable hash join probe, information_schema.warehouse_queries, lake vacuum, HTTP connection unregister paths, and query queue timeout handling
  • Materialized view issues involving JDBC SQL Server tables, lost index properties, cached plan context memory leaks, Paimon tables, and incorrect shuffle distribution after MV rewrite
  • Query planning and rewrite issues in Spark connector external scans, INSERT OVERWRITE re-planning, aggregation spill with small LIMIT, and generated columns produced by UNNEST
  • Paimon Primary Key columns could be incorrectly marked as non-nullable when querying external catalogs
View originalRead the notes
How 3.5.18 went

4.0.11

Added 5
  • Java UDAF and UDTF support STRUCT arguments and return types
  • Scalar Java UDF supports STRUCT arguments
  • Java UDF supports DATE and DATETIME types
  • Java UDF supports nested ARRAY and MAP types
  • FE configuration deploy_serialization_min_thread_pool_size
Changed 8
  • get_json_string and the other get_json_* functions now return the JSON parse error instead of NULL when implicit VARCHAR-to-JSON parsing fails under ALLOW_THROW_EXCEPTION, while the default behavior is unchanged
  • pipeline_enable_large_column_checker is now enabled by default
  • Lake write-path load spill files use a flat single-level directory layout with the transaction ID in each filename and are reclaimed by a txn-id-based vacuum pass
  • SHOW statements such as SHOW GRANTS and SHOW WAREHOUSES are now allowed inside an explicit transaction
  • Redundant partition key expression building is skipped when an add_partition_value deduplication hit occurs
  • A redundant latestSnapshot() call in PaimonMetadata#getTableVersionRange is avoided
  • Commutative AND/OR expressions are deduplicated in scalar operator common subexpression elimination
  • Lock contention on read-only query-engine paths is reduced by relaxing DB locks
Fixed 23
  • A memory leak introduced by the UDAF cache
  • An incorrect implementation in aggregate combined functions
  • Shared-data combined txn log mode no longer drops txn logs when the per-partition coordinator claim is not re-recorded on every sender's open
  • Reading Iceberg tables that use a custom LocationProvider, by lazily initializing the LocationProvider in SerializableTable
  • Serialization failure caused by the de.javakaffee UnmodifiableCollectionsSerializer, replaced with a Java 17-compatible version
  • HdfsFsManager copy error messages now include the underlying cause
Security 1
  • Upgraded libthrift to 0.23.0 to address a security vulnerability (CVE)
View originalRead the notes
How 4.0.11 went
View all

Discussion

If you publish StarRocks, you can claim this product by proving you administer its repository.