From e5397efb672bdb0f739e784f54317574bcd19b06 Mon Sep 17 00:00:00 2001 From: "jiafeng.zhang" Date: Wed, 4 Jan 2023 10:12:46 +0800 Subject: [PATCH] [docs](releasenotes)release 1.2.1 (#15583) * release 1.2.1 --- docs/en/docs/releasenotes/release-1.2.1.md | 195 ++++++++++++++++++ docs/sidebars.json | 1 + docs/zh-CN/docs/releasenotes/release-1.2.1.md | 191 +++++++++++++++++ 3 files changed, 387 insertions(+) create mode 100644 docs/en/docs/releasenotes/release-1.2.1.md create mode 100644 docs/zh-CN/docs/releasenotes/release-1.2.1.md diff --git a/docs/en/docs/releasenotes/release-1.2.1.md b/docs/en/docs/releasenotes/release-1.2.1.md new file mode 100644 index 0000000000..11f298494c --- /dev/null +++ b/docs/en/docs/releasenotes/release-1.2.1.md @@ -0,0 +1,195 @@ +--- +{ + "title": "Release 1.2.1", + "language": "en" +} +--- + + + +# Improvement + +### Supports new type DecimalV3 + +DecimalV3, which supports higher precision and better performance, has the following advantages over past versions. + +- Larger representable range, the range of values are significantly expanded, and the valid number range [1,38]. + +- Higher performance, adaptive adjustment of the storage space occupied according to different precision. + +- More complete precision derivation support, for different expressions, different precision derivation rules are applied to the accuracy of the result. + +[DecimalV3](https://doris.apache.org/docs/dev/sql-manual/sql-reference/Data-Types/DECIMALV3/) + +### Support Iceberg V2 + +Support Iceberg V2 (only Position Delete is supported, Equality Delete will be supported in subsequent versions). + +Tables in Iceberg V2 format can be accessed through the Multi-Catalog feature. + +### Support OR condition to IN + +Support converting OR condition to IN condition, which can improve the execution efficiency in some scenarios.[#15437](https://github.com/apache/doris/pull/15437) [#12872](https://github.com/apache/doris/pull/12872) + +### Optimize the import and query performance of JSONB type + +Optimize the import and query performance of JSONB type. [#15219](https://github.com/apache/doris/pull/15219) [#15219](https://github.com/apache/doris/pull/15219) + +### Stream load supports quoted csv data + +Search trim_double_quotes in Document:[https://doris.apache.org/en/docs/dev/sql-manual/sql-reference/Data-Manipulation-Statements/Load/STREAM-LOAD](https://doris.apache.org/en/docs/dev/sql-manual/sql-reference/Data-Manipulation-Statements/Load/STREAM-LOAD) + +### Broker supports Tencent Cloud CHDFS and Baidu Cloud BOS, AFS + +Data on CHDFS, BOS, and AFS can be accessed through Broker. [#15297](https://github.com/apache/doris/pull/15297) [#15448](https://github.com/apache/doris/pull/15448) + +### New function + +Add function `substring_index`. [#15373](https://github.com/apache/doris/pull/15373) + +# Bug Fix + +- In some cases, after upgrading from version 1.1 to version 1.2, the user permission information will be lost. [#15144](https://github.com/apache/doris/pull/15144) + +- Fix the problem that the partition value is wrong when using datev2/datetimev2 type for partitioning. [#15094](https://github.com/apache/doris/pull/15094) + +- Bug fixes for a large number of released features. For a complete list see: [PR List](https://github.com/apache/doris/pulls?q=is%3Apr+label%3Adev%2F1.2.1-merged+is%3Aclosed) + +# Upgrade Notice + +### Known Issues + +Do not use JDK11 as the runtime JDK of BE, it will cause BE Crash. + +### Behavior Changed + +- The default value of the BE configuration item `high_priority_flush_thread_num_per_store` is changed from 1 to 6, to improve the write efficiency of Routine Load. (https://github.com/apache/doris/pull/14775) + +- The default value of the FE configuration item `enable_new_load_scan_node` is changed to true. Import tasks will be performed using the new File Scan Node. No impact on users.[#14808](https://github.com/apache/doris/pull/14808) + +- Delete the FE configuration item `enable_multi_catalog`. The Multi-Catalog function is enabled by default. + +- The vectorized execution engine is forced to be enabled by default.[#15213](https://github.com/apache/doris/pull/15213) + +The session variable enable_vectorized_engine will no longer take effect. Enabled by default. + +To make it valid again, set the FE configuration item `disable_enable_vectorized_engine` to false, and restart FE to make `enable_vectorized_engine` valid again. + + +# Big Thanks + +Thanks to ALL who contributed to this release! + + +@adonis0147 + +@AshinGau + +@BePPPower + +@BiteTheDDDDt + +@ByteYue + +@caiconghui + +@cambyzju + +@chenlinzhong + +@dataroaring + +@Doris-Extras + +@dutyu + +@eldenmoon + +@englefly + +@freemandealer + +@Gabriel39 + +@HappenLee + +@Henry2SS + +@hf200012 + +@jacktengg + +@Jibing-Li + +@Kikyou1997 + +@liaoxin01 + +@luozenglin + +@morningman + +@morrySnow + +@mrhhsg + +@nextdreamblue + +@qidaye + +@spaces-X + +@starocean999 + +@wangshuo128 + +@weizuo93 + +@wsjz + +@xiaokang + +@xinyiZzz + +@xutaoustc + +@yangzhg + +@yiguolei + +@yixiutt + +@Yulei-Yang + +@yuxuan-luo + +@zenoyang + +@zhangstar333 + +@zhannngchen + +@zhengshengjun + + + + + + diff --git a/docs/sidebars.json b/docs/sidebars.json index 3318bcbd69..da72c52bad 100644 --- a/docs/sidebars.json +++ b/docs/sidebars.json @@ -1158,6 +1158,7 @@ "type": "category", "label": "Release notes", "items": [ + "releasenotes/release-1.2.1", "releasenotes/release-1.2.0", "releasenotes/release-1.1.5", "releasenotes/release-1.1.4", diff --git a/docs/zh-CN/docs/releasenotes/release-1.2.1.md b/docs/zh-CN/docs/releasenotes/release-1.2.1.md new file mode 100644 index 0000000000..45e7312a7c --- /dev/null +++ b/docs/zh-CN/docs/releasenotes/release-1.2.1.md @@ -0,0 +1,191 @@ +--- +{ + "title": "Release 1.2.1", + "language": "zh-CN" +} +--- + + + +在 1.2.1 版本中,Doris 团队已经修复了自 1.2.0 版本发布以来约 200 个问题或性能改进项。同时,1.2.1 版本也作为 1.2 LTS 的第一个迭代版本,具备更高的稳定性,建议所有用户升级到这个版本。 + + +# 优化改进 + +### 支持高精度小数 DecimalV3 + +支持精度更高和性能更好的 DecimalV3,相较于过去版本具有以下优势: + +- 可表示范围更大,取值范围都进行了明显扩充,有效数字范围 [1,38]。 + +- 性能更高,根据不同精度,占用存储空间可自适应调整。 + +- 支持更完备的精度推演,对于不同的表达式,应用不同的精度推演规则对结果的精度进行推演。 + +[DecimalV3](https://doris.apache.org/zh-CN/docs/dev/sql-manual/sql-reference/Data-Types/DECIMALV3) + +### 支持 Iceberg V2 + +支持 Iceberg V2 (仅支持 Position Delete, Equality Delete 会在后续版本支持),可以通过 Multi-Catalog 功能访问 Iceberg V2 格式的表。 + + +### 支持 OR 条件转 IN + +支持将 where 条件表达式后的 or 条件转换成 in 条件,在部分场景中可以提升执行效率。 [#15437](https://github.com/apache/doris/pull/15437) [#12872](https://github.com/apache/doris/pull/12872) + + +### 优化 JSONB 类型的导入和查询性能 + +优化 JSONB 类型的导入和查询性能,在测试数据上约有 70% 的性能提升。 [#15219](https://github.com/apache/doris/pull/15219) [#15219](https://github.com/apache/doris/pull/15219) + +### Stream load 支持带引号的 CSV 数据 + +通过导入任务参数 `trim_double_quotes` 来控制,默认值为 false,为 true 时表示裁剪掉 CSV 文件每个字段最外层的双引号。 [#15241](https://github.com/apache/doris/pull/15241) + +### Broker 支持腾讯云 CHDFS 和 百度云 BOS 、AFS + +可以通过 Broker 访问存储在腾讯云 CHDFS 和 百度智能云 BOS、AFS 上的数据。 [#15297](https://github.com/apache/doris/pull/15297) [#15448](https://github.com/apache/doris/pull/15448) + +### 新增函数 + +新增函数 `substring_index`。 [#15373](https://github.com/apache/doris/pull/15373) + + + +# 问题修复 + +- 修复部分情况下,从 1.1.x 版本升级到 1.2.0 版本后,用户权限信息丢失的问题。 [#15144](https://github.com/apache/doris/pull/15144) + +- 修复使用 date/datetimev2 类型进行分区时,分区值错误的问题。 [#15094](https://github.com/apache/doris/pull/15094) + +- 修复部分已发布功能的 Bug,具体列表可参阅:[PR List](https://github.com/apache/doris/pulls?q=is%3Apr+label%3Adev%2F1.2.1-merged+is%3Aclosed) + + +# 升级注意事项 + +### 已知问题 + +请勿使用 JDK11 作为 BE 的运行时 JDK,会导致 BE Crash。 + +### 行为改变 + +- BE 配置项 `high_priority_flush_thread_num_per_store` 默认值由 1 改成 6 ,以提升 Routine Load 的写入效率。[#14775](https://github.com/apache/doris/pull/14775) + +- FE 配置项 `enable_new_load_scan_node` 默认值改为 true ,将使用新的 File Scan Node 执行导入任务,对用户无影响。 [#14808](https://github.com/apache/doris/pull/14808) + +- 删除 FE 配置项 `enable_multi_catalog`,默认开启 Multi-Catalog 功能。 + +- 默认强制开启向量化执行引擎。会话变量 `enable_vectorized_engine` 将不再生效,如需重新生效,需将 FE 配置项 `disable_enable_vectorized_engine` 设为 false,并重启 FE。 [#15213](https://github.com/apache/doris/pull/15213) + +# 致谢 + +有 45 位贡献者参与到 1.2.1 版本的开发与完善中,感谢他们的付出,他们分别是: + +@adonis0147 + +@AshinGau + +@BePPPower + +@BiteTheDDDDt + +@ByteYue + +@caiconghui + +@cambyzju + +@chenlinzhong + +@dataroaring + +@Doris-Extras + +@dutyu + +@eldenmoon + +@englefly + +@freemandealer + +@Gabriel39 + +@HappenLee + +@Henry2SS + +@hf200012 + +@jacktengg + +@Jibing-Li + +@Kikyou1997 + +@liaoxin01 + +@luozenglin + +@morningman + +@morrySnow + +@mrhhsg + +@nextdreamblue + +@qidaye + +@spaces-X + +@starocean999 + +@wangshuo128 + +@weizuo93 + +@wsjz + +@xiaokang + +@xinyiZzz + +@xutaoustc + +@yangzhg + +@yiguolei + +@yixiutt + +@Yulei-Yang + +@yuxuan-luo + +@zenoyang + +@zhangstar333 + +@zhannngchen + +@zhengshengjun + +