Starrocks

Latest version: v1.2.0

Safety actively analyzes 688238 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 20

2.5.8

Release date: June 30, 2023

Improvements
- Optimized the error message reported when partitions are added to a non-partitioned table. [25266](https://github.com/StarRocks/starrocks/pull/25266)
- Optimized the [auto tablet distribution policy](https://docs.starrocks.io/en-us/2.5/table_design/Data_distribution#determine-the-number-of-buckets) for tables. [24543](https://github.com/StarRocks/starrocks/pull/24543)
- Optimized the default comments in the CREATE TABLE statement. [24803](https://github.com/StarRocks/starrocks/pull/24803)
- You can initiate synchronous manual refresh tasks for asynchronous materialized views using REFRESH MATERIALIZED VIEW WITH SYNC MODE. [25910](https://github.com/StarRocks/starrocks/pull/25910pr)

Bug Fixes
Fixed the following issues:
- The COUNT result of an asynchronous materialized view may be inaccurate if the materialized view is built on Union results. [24460](https://github.com/StarRocks/starrocks/issues/24460)
- "Unknown error" is reported when users attempt to forcibly reset the root password. [25492](https://github.com/StarRocks/starrocks/pull/25492)
- Inaccurate error message is displayed when INSERT OVERWRITE is executed on a cluster with less than three alive BEs. [25314](https://github.com/StarRocks/starrocks/pull/25314)

2.5.7

Release date: June 14, 2023

New features
- Inactive materialized views can be manually activated using ALTER MATERIALIZED VIEW <mv_name> ACTIVE. You can use this SQL command to activate materialized views whose base tables were dropped and then recreated. For more information, see [ALTER MATERIALIZED VIEW](https://docs.starrocks.io/en-us/2.5/sql-reference/sql-statements/data-definition/ALTER%20MATERIALIZED%20VIEW). [#24001](https://github.com/StarRocks/starrocks/pull/24001)
- StarRocks can automatically set an appropriate number of tablets when you create a table or add a partition, eliminating the need for manual operations. For more information, see [Determine the number of tablets](https://docs.starrocks.io/en-us/2.5/table_design/Data_distribution#determine-the-number-of-tablets). [10614](https://github.com/StarRocks/starrocks/pull/10614)

Improvements
- Optimized the I/O concurrency of Scan nodes used in external table queries, which reduces memory usage and improves the stability of data loading from external tables. [23617](https://github.com/StarRocks/starrocks/pull/23617) [#23624](https://github.com/StarRocks/starrocks/pull/23624) [#23626](https://github.com/StarRocks/starrocks/pull/23626)
- Optimized the error message for Broker Load jobs. The error message contains retry information and the name of erroneous files. [18038](https://github.com/StarRocks/starrocks/pull/18038) [#21982](https://github.com/StarRocks/starrocks/pull/21982)
Optimized the error message returned when CREATE TABLE times out and added parameter tuning tips. [24510](https://github.com/StarRocks/starrocks/pull/24510)
- Optimized the error message returned when ALTER TABLE fails because the table status is not Normal. [24381](https://github.com/StarRocks/starrocks/pull/24381)
Ignores full-width spaces in the CREATE TABLE statement. [23885](https://github.com/StarRocks/starrocks/pull/23885)
- Optimized the Broker access timeout to increase the success rate of Broker Load jobs. [22699](https://github.com/StarRocks/starrocks/pull/22699)
- For Primary Key tables, the VersionCount field returned by SHOW TABLET contains Rowsets that are in the Pending state. [23847](https://github.com/StarRocks/starrocks/pull/23847)
- Optimized the Persistent Index policy. [22140](https://github.com/StarRocks/starrocks/pull/22140)

Bug Fixes
Fixed the following issues:
- When users load Parquet data into StarRocks, DATETIME values overflow during type conversion, causing data errors. [22356](https://github.com/StarRocks/starrocks/pull/22356)
- Bucket information is lost after Dynamic Partitioning is disabled. [22595](https://github.com/StarRocks/starrocks/pull/22595)
- Using unsupported properties in the CREATE TABLE statement causes null pointer exceptions (NPEs). [23859](https://github.com/StarRocks/starrocks/pull/23859)
- Table permission filtering in information_schema becomes ineffective. As a result, users can view tables they do not have permission to. [23804](https://github.com/StarRocks/starrocks/pull/23804)
- Information returned by SHOW TABLE STATUS is incomplete. [24279](https://github.com/StarRocks/starrocks/issues/24279)
- Schema change for Primary Key tables is hung if data loading occurs simultaneously with schema change. [23456](https://github.com/StarRocks/starrocks/pull/23456)
- RocksDB WAL flush blocks the brpc worker from processing bthreads, which interrupts high-frequency data loading into Primary Key tables. [22489](https://github.com/StarRocks/starrocks/pull/22489)
- TIME-type columns that are not supported in StarRocks can be successfully created. [23474](https://github.com/StarRocks/starrocks/pull/23474)
- Materialized view Union rewrite fails. [22922](https://github.com/StarRocks/starrocks/pull/22922)

2.5.6

Release date: May 19, 2023

Improvements
- Optimized the error message reported when INSERT INTO ... SELECT expires due to a small thrift_server_max_worker_thread value. [21964](https://github.com/StarRocks/starrocks/pull/21964)
- Tables created using CTAS have three replicas by default, which is consistent with the default replica number for common tables. [22854](https://github.com/StarRocks/starrocks/pull/22854)

Bug Fixes
- Truncating partitions fails because the TRUNCATE operation is case-sensitive to partition names. [21809](https://github.com/StarRocks/starrocks/pull/21809)
- Decommissioning BE fails due to the failure in creating temporary partitions for materialized views. [22745](https://github.com/StarRocks/starrocks/pull/22745)
- Dynamic FE parameters that require an ARRAY value cannot be set to an empty array. [22225](https://github.com/StarRocks/starrocks/pull/22225)
- Materialized views with the partition_refresh_number property specified may fail to completely refresh. [21619](https://github.com/StarRocks/starrocks/pull/21619)
- SHOW CREATE TABLE masks cloud credential information, which causes incorrect credential information in memory. [21311](https://github.com/StarRocks/starrocks/pull/21311)
- Predicates cannot take effect on some ORC files that are queried via external tables. [21901](https://github.com/StarRocks/starrocks/pull/21901)
- The min-max filter cannot properly handle lower- and upper-case letters in column names. [22626](https://github.com/StarRocks/starrocks/pull/22626)
- Late materialization causes errors in querying complex data types (STRUCT or MAP). [22862](https://github.com/StarRocks/starrocks/pull/22862)
- The issue that occurs when restoring a Primary Key table. [23384](https://github.com/StarRocks/starrocks/pull/23384)

2.5.5

New features
Added a metric to monitor the tablet status of Primary Key tables:

- Added the FE metric err_state_metric.
- Added the ErrorStateTabletNum column to the output of SHOW PROC '/statistic/' to display the number of err_state tablets.
- Added the ErrorStateTablets column to the output of SHOW PROC '/statistic/<db_id>/' to display the IDs of err_state tablets.
For more information, see [SHOW PROC](https://docs.starrocks.io/en-us/2.5/sql-reference/sql-statements/Administration/SHOW%20PROC).

Improvements
- Optimized the disk balancing speed when multiple BEs are added. [ 19418](https://github.com/StarRocks/starrocks/pull/19418)
- Optimized the inference of storage_medium. When BEs use both SSD and HDD as storage devices, if the property storage_cooldown_time is specified, StarRocks sets storage_medium to SSD. Otherwise, StarRocks sets storage_medium to HDD. [18649](https://github.com/StarRocks/starrocks/pull/18649)
- Optimized the performance of Unique Key tables by forbidding the collection of statistics from value columns. [19563](https://github.com/StarRocks/starrocks/pull/19563)

Bug Fixes
- For Colocation tables, the replica status can be manually specified as bad by using statements like ADMIN SET REPLICA STATUS PROPERTIES ("tablet_id" = "10003", "backend_id" = "10001", "status" = "bad");. If the number of BEs is less than or equal to the number of replicas, the corrupted replica cannot be repaired. [ 17876](https://github.com/StarRocks/starrocks/issues/17876)
- After a BE is started, its process exists but the BE port cannot be enabled. [ 19347](https://github.com/StarRocks/starrocks/pull/19347)
- Wrong results are returned for aggregate queries whose subquery is nested with a window function. [ 19725](https://github.com/StarRocks/starrocks/issues/19725)
- auto_refresh_partitions_limit does not take effect when the materialized view (MV) is refreshed for the first time. As a result, all the partitions are refreshed. [ 19759](https://github.com/StarRocks/starrocks/issues/19759)
- An error occurs when querying a CSV Hive external table whose array data is nested with complex data such as MAP and STRUCT. [ 20233](https://github.com/StarRocks/starrocks/pull/20233)
- Queries that use Spark connector time out. [ 20264](https://github.com/StarRocks/starrocks/pull/20264)
- If one replica of a two-replica table is corrupted, the table cannot recover. [ 20681](https://github.com/StarRocks/starrocks/pull/20681)
- Query failure caused by MV query rewrite failure. [ 19549](https://github.com/StarRocks/starrocks/issues/19549)
- The metric interface expires due to database lock. [ 20790](https://github.com/StarRocks/starrocks/pull/20790)
- Wrong results are returned for Broadcast Join. [ 20952](https://github.com/StarRocks/starrocks/issues/20952)
- NPE is returned when an unsupported data type is used in CREATE TABLE. [ 20999](https://github.com/StarRocks/starrocks/issues/20999)
- The issue caused by using window_funnel() with the Query Cache feature. [ 21474](https://github.com/StarRocks/starrocks/issues/21474)
- Optimization plan selection takes an unexpectedly long time after the CTE is rewritten. [ 16515](https://github.com/StarRocks/starrocks/pull/16515)

2.5.4

Release date: April 4, 2023

Improvements

- Optimized the performance of rewriting queries on materialized views during query planning. The amount of time taken for query planning is reduced by about 70%. [19579](https://github.com/StarRocks/starrocks/pull/19579)
- Optimized the type inference logic. If a query like SELECT sum(CASE WHEN XXX); contains a constant 0, such as SELECT sum(CASE WHEN k1 = 1 THEN v1 ELSE 0 END) FROM test;, pre-aggregation is automatically enabled to accelerate the query. [19474](https://github.com/StarRocks/starrocks/pull/19474)
- Supported using SHOW CREATE VIEW to view the creation statement of a materialized view. [19999](https://github.com/StarRocks/starrocks/pull/19999)
- Supported transmitting packets that are 2 GB or larger in size for a single bRPC request between BE nodes. [20283](https://github.com/StarRocks/starrocks/pull/20283) [#20230](https://github.com/StarRocks/starrocks/pull/20230)

Bug Fixes

The following bugs are fixed:

- After queries on materialized views are rewritten, the global dictionary for low-cardinality optimization does not take effect. [19615](https://github.com/StarRocks/starrocks/pull/19615)
- If a query on materialized views fails to be rewritten, the query fails. [19774](https://github.com/StarRocks/starrocks/pull/19774)
- If a materialized view is created based on a Primary Key or Unique Key table, queries on that materialized view cannot be rewritten. [19600](https://github.com/StarRocks/starrocks/pull/19600)
- The column names of materialized views are case-sensitive. However, when you create a table, the table is successfully created without an error message even if column names are incorrect in the PROPERTIES of the table creation statement, and moreover the rewriting of queries on materialized views created on that table fails. [19780](https://github.com/StarRocks/starrocks/pull/19780)
- After a query on materialized views is rewritten, the query plan ma contain partition column-based, invalid predicates, which affect query performance. [19784](https://github.com/StarRocks/starrocks/pull/19784)
- When data is loaded into a newly created partition, queries on materialized views may fail to be rewritten. [20323](https://github.com/StarRocks/starrocks/pull/20323)
- Configuring "storage_medium" = "SSD" at the creation of materialized views causes the refresh of the materialized views to fail. [19539](https://github.com/StarRocks/starrocks/pull/19539) [#19626](https://github.com/StarRocks/starrocks/pull/19626)
- Concurrent compaction may happen on Primary Key tables. [19692](https://github.com/StarRocks/starrocks/pull/19692)
- Compaction does not occur promptly after a large number of DELETE operations. [19623](https://github.com/StarRocks/starrocks/pull/19623)
- If the expression of a statement contains multiple low-cardinality columns, the expression may fail to be properly rewritten. As a result, the global dictionary for low-cardinality optimization does not take effect. [20161](https://github.com/StarRocks/starrocks/pull/20161)

2.5.3

Improvements

- Optimized query rewrite for materialized views (MVs).
- Supports rewriting queries with Outer Join and Cross Join. [18629](https://github.com/StarRocks/starrocks/pull/18629)
- Optimized the data scan logic for MVs, further accelerating the rewritten queries. [18629](https://github.com/StarRocks/starrocks/pull/18629)
- Enhanced rewrite capabilities for single-table aggregate queries. [18629](https://github.com/StarRocks/starrocks/pull/18629)
- Enhanced rewrite capabilities in View Delta scenarios, which is when the queried tables are a subset of the MV's base tables. [18800](https://github.com/StarRocks/starrocks/pull/18800)
- Optimized the performance and memory usage when the window function RANK() is used as a filter or a sort key. [17553](https://github.com/StarRocks/starrocks/issues/17553)

Bug Fixes

The following bugs are fixed:

- Errors caused by null literals [] in ARRAY data. [18563](https://github.com/StarRocks/starrocks/pull/18563)
- Misuse of the low-cardinality optimization dictionary in some complex query scenarios. The dictionary mapping check is now added before applying the dictionary. [17318](https://github.com/StarRocks/starrocks/pull/17318)
- In a single BE environment, Local Shuffle causes GROUP BY to produce duplicate results. [17845](https://github.com/StarRocks/starrocks/pull/17845)
- Misuses of partition-related PROPERTIES for a non-partitioned MV may cause the MV refresh to fail. The partition PROPERTIES check is now performed when users create an MV. [18741](https://github.com/StarRocks/starrocks/pull/18741)
- Errors in parsing Parquet Repetition columns. [17626](https://github.com/StarRocks/starrocks/pull/17626) [#17788](https://github.com/StarRocks/starrocks/pull/17788) [#18051](https://github.com/StarRocks/starrocks/pull/18051)
- The obtained column's nullable information is incorrect. Solution: When CTAS is used to create a Primary Key table, only the primary key columns are non-nullable; non-primary key columns are nullable. [16431](https://github.com/StarRocks/starrocks/pull/16431)
- Some issues caused by deleting data from Primary Key tables. [18768](https://github.com/StarRocks/starrocks/pull/18768)

Page 11 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.