Open gavinchou opened 3 weeks ago
use_max_length_of_varchar_in_ctas
,用于控制在执行 CREATE TABLE AS SELECT
(CTAS)操作时 VARCHAR 类型的长度行为。此变量默认设置为 true。当设置为 true 时,如果 VARCHAR 类型的列源自一个表,则采用推导长度;如果不是,则使用最大长度。当设置为 false 时,VARCHAR 类型将始终使用推导出的长度。#37069trash_file_expire_time_sec
的默认值已从 86400 秒更改为 0 秒,这意味着如果误删除文件并清空了 FE 回收站,数据将无法恢复。enable_mow_delete_on_delete_predicate
(在版本 3.0.0 中引入)已更名为 enable_mow_light_delete
。serde_dialect
,可以设置复杂类型的输出格式。#37039nested
或 object
类型映射为 Doris 的 JSON
类型。#37101MULTI_MATCH
函数,可以在多个字段中匹配关键词,并能利用倒排索引加速搜索。#37722explode_json_object
函数,可以将 JSON 数据中的 object 展开为多行。#36887msg MATCH_PHRASE 'a b 2+'
可以匹配包含词 a 和 b,它们之间的词距不超过两个,并且 a 在 b 的前面;而普通的词距(slop)如果没有最后的加号 +
,则不保证 a 在 b 的前面。#36356enable_count_push_down_for_external_table
,用于控制是否开启外部表的 count(*) 下推优化。#37046date_trunc
或 date
函数。#38025 #38743enable_create_bitmap_index_as_inverted_index
默认设置为 true。#36692support_phrase
选项,以加速 match_phrase
系列短语查询。#37949information_schema.processlist
show all FE 的支持。#38701file_cache_ttl_seconds
属性的问题。#38052enable_stacktrace
,用户可以通过设置此选项来控制 BE 日志中是否输出异常栈。#37713enable_parallel_result_sink
为 false 时不能正常工作的问题。#37779修复了compaction过程中索引大小统计错误的问题。#37232
修复了 array_range
和 array_with_const
函数在大数据量下内存占用高的问题。#38284 #37495
修复了选择 ARRAY MAP STRUCT 类型的列时可能出现的 core dump 问题。#37936(4 周前)
修复了 stream load 指定 jsonpath 时 simdjson 解析错误导致导入失败的问题。#38490
修复了 JSON 数据中有重复 key 时处理异常的问题。#38146
修复了 DROP INDEX 后可能出现查询报错的问题。#37646
修复了索引compaction时在合并行检查中的错误返回问题。#38732
倒排索引 v2 格式现在支持修改列名。#38079
修复了没有索引时 MATCH 函数匹配空字符串时 coredump 的问题。#37947
修复了 FE 重启后 row_store_page_size
不正确的问题。#38240
Thanks all who contribute to this release:
133tosakarin 924060929 AshinGau Baymine BePPPower BiteTheDDDDt ByteYue CalvinKirs Ceng23333 DarvenDuan FreeOnePlus Gabriel39 HappenLee JNSimba Jibing-Li KassieZ Lchangliang LiBinfeng-01 Mryange SWJTU-ZhangLei TangSiyang2001 Tech-Circle-48 Vallishp Yukang-Lian Yulei-Yang airborne12 amorynan bobhan1 cambyzju cjj2010 csun5285 dataroaring deardeng eldenmoon englefly feiniaofeiafei felixwluo freemandealer gavinchou ghkang98 hello-stephen hubgeter hust-hhb jacktengg kaijchen kaka11chen keanji-x liaoxin01 liutang123 luwei16 luzhijing lxr599 morningman morrySnow mrhhsg mymeiyi platoneko qidaye qzsee seawinde shuke987 sollhui starocean999 suxiaogang223 w41ter wangbo wangshuo128 whutpencil wsjz wuwenchi wyxxxcat xiaokang xiedeyantu xinyiZzz xy720 xzj7019 yagagagaga yiguolei yujun777 z404289981 zclllyybb zddr zfr9527 zhangbutao zhangstar333 zhannngchen zhiqiang-hhhh zjj zy-kkk zzzxl1993
Lakehouse:
Is the expression about the hudi query type changed to this way? Hudi snapshot reads ---> Hudi incremental reads
Behavior Changes
Query Optimizer
use_max_length_of_varchar_in_ctas
to control the length behavior of VARCHAR type when executingCREATE TABLE AS SELECT
(CTAS) operations. #37069Query Execution
Storage
trash_file_expire_time_sec
has been changed from 86400 seconds to 0 seconds, which means that if files are deleted by mistake and the FE trash is cleared, the data cannot be recovered.enable_mow_delete_on_delete_predicate
(introduced in version 3.0.0) has been renamed toenable_mow_light_delete
.New Features
Job Scheduling
Compute-Storage Decoupled
Lakehouse
serde_dialect
to set the output format for complex types. #37039Asynchronous Materialized Views
Query Execution
Semi-Structured Data Management
nested
orobject
types in Elasticsearch to the JSON type in Doris. #37101MULTI_MATCH
function, which supports matching keywords across multiple fields and can leverage inverted indexes to accelerate searches. #37722explode_json_object
function, which can unfold objects in JSON data into multiple rows. #36887MATCH_PHRASE
support for positive slop, e.g.,msg MATCH_PHRASE 'a b 2+'
can match instances containing words a and b with a slop of no more than two, and a preceding b; regular slop without the final+
does not guarantee this order. #36356Other
skip_audit_user_list
, where user operations specified in this configuration will not be recorded in the audit log. #38310Improvements
Storage
delete bitmap cache
. #38761Compute-Storage Decoupled
Lakehouse
enable_count_push_down_for_external_table
to control whether to enablecount(*)
pushdown optimization for external tables. #37046Asynchronous Materialized Views
MySQL Compatibility
/*+ func(value) */
. #37720Query Optimizer
date_trunc
ordate
function. #38025 #38743Query Execution
aes_encrypt
/decrypt
functions for constant types. #37194json_extract
function for constant data. #36927ParseUrl
function for constant data. #36882Semi-Structured Data Management
enable_create_bitmap_index_as_inverted_index
set to true by default. #36692replace_if_not_null
for AGG tables. #38304support_phrase
option is now automatically enabled to acceleratematch_phrase
series phrase queries. #37949Other
information_schema.processlist
to show all FE. #38701atamask
androwpolicy
to accelerate query efficiency. #37723Bug Fixes
Upgrade
mtmv load
fails during upgrade from version 2.1. #38799null_type
cannot be found during the upgrade to version 2.1. #39373Load
delete bitmap lock
errors. #37600show routine load
returns empty results. #38199Storage
Backup and Restoration
Compaction
MOW Unique Key
Other
bucket = 0
in table creation statements under the new optimizer. #38971int32
overflow issue in inverted index files. #38891Compute-Storage Decoupled
show create table
might display thefile_cache_ttl_seconds
attribute twice. #38052-230
error. #37625show load
with conditions did not perform correct analysis. #37656show streamload
in compute-storage decoupled mode caused BE coredump. #37903copy into
did not correctly verify column names in strict mode. #37650getVersionUpdateTimeMs
. #38074Lakehouse
MySQL Compatibility
Asynchronous Materialized Views
Synchronous Materialized Views
Query Optimizer
str_to_date
performs incorrect constant folding calculations on DATEV1 types. #37360char(0)/varchar(0)
when creating a table. #38427char(255) toSql
. #37340agg_state
type might lead to planning errors. #37489Query Execution
width_bucket
function returned incorrect results. #37892foreach
function. #37349bitmap union
calculations. #37816jemalloc cache memory tracker
. #37464enable_stacktrace
configuration option, allowing users to control whether exception stacks are output in BE logs. #37713enable_parallel_result_sink
was set to false. #37779round
function on DECIMAL128 types. #37733, #38106sleep
function. #37681MULTI_MATCH_ANY
function. #37959insert overwrite auto partition
. #38103convert_tz
function returned incorrect results. #37358, #38764collect_set
function with window functions. #38234percentile_approx
during rolling upgrades. #39321mod
function when encountering abnormal input. #37999conv
function. #38001json_replace
function returned incorrect types. #3701percentile
aggregation function. #37330histogram
function were unstable. #38608Semi-Structured Data Management
array_range
andarray_with_const
functions when dealing with large data volumes. #38284 #37495MATCH
function matches an empty string without an index. #37947row_store_page_size
after FE restart. #38240Other
alter_priv
permission on the base table when creating a synchronized materialized view. #38011