Release notes 3.1.10 (Deprecated)
Release date: March 29, 2024
TIP
This version has been taken offline due to privilege issues in querying external tables in external catalogs such as Hive and Iceberg.Problem: When a user queries data from an external table in an external catalog, access to this table is denied even when the user has the SELECT privilege on this table. SHOW GRANTS also shows that the user has this privilege.
Impact scope: This problem only affects queries on external tables in external catalogs. Other queries are not affected.
Temporary workaround: The query succeeds after the SELECT privilege on this table is granted to the user again. But SHOW GRANTS will return duplicate privilege entries. After an upgrade to v3.2.6, users can run REVOKE to remove one of the privilege entries.
New Features
- Primary Key tables support Size-tiered Compaction. #42474
Behavior Changes
- When null values in JSON data are evaluated based on the
IS NULL
operator, they are considered NULL values following SQL language. For example,true
is returned forSELECT parse_json('{"a": null}') -> 'a' IS NULL
(before this behavior change,false
is returned). #42815
Improvements
- When Broker Load is used to load data from ORC files that contain TIMESTAMP-type data, StarRocks supports retaining microseconds in the timestamps when converting the timestamps to match its own DATETIME data type. #42348
Bug Fixes
Fixed the following issues:
- In shared-data mode, the garbage collection and thread eviction mechanisms for handling persistent indexes created on Primary Key tables cannot take effect on CN nodes. As a result, obsolete data cannot be deleted. #42241
- When users query ORC files by using Hive catalogs, the query results may be incorrect because StarRocks used to read ORC files from Hive based on mapping by position. To resolve this issue, users can set the session variable
orc_use_column_names
totrue
, which specifies to read ORC files from Hive based on mapping by column name. #42905 - When LDAP authentication for the AD system is adopted, logins without passwords are allowed. #42476
- When disk device names end with digits, the values of monitoring metrics remain 0s because the disk device names may be invalid after such digits are removed. #42741