Skip to content

Commit

Permalink
[Doc] Add Behavior Changes to 3.2.9
Browse files Browse the repository at this point in the history
Signed-off-by: EsoragotoSpirit <[email protected]>
  • Loading branch information
EsoragotoSpirit committed Jul 18, 2024
1 parent ae37767 commit 8166137
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/en/release_notes/release-3.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ Release date: July 11, 2024
- Hive tables now support the `skip.header.line.count` property. [#47001](https://github.com/StarRocks/starrocks/pull/47001)
- JDBC Catalog supports more data types. [#47618](https://github.com/StarRocks/starrocks/pull/47618)

### Behavior Changes

- Changed the value inheritance order of the `JAVA_OPTS` parameters. If versions other than JDK_9 or JDK_11 are used, users need to configure `JAVA_OPTS` directly. [#47495](https://github.com/StarRocks/starrocks/pull/47495)
- When users create a non-partitioned table without specifying the bucket number, the minimum bucket number the system sets for the table is `16` (instead of `2` based on the formula `2*BE or CN count`). If users want to set a smaller bucket number when creating a small table, they must set it explicitly. [#47005](https://github.com/StarRocks/starrocks/pull/47005)
- When users create a partitioned table without specifying the bucket number, if the number of partitions exceeds 5, the rule for setting the bucket count is changed to `max(2*BE or CN count, bucket number calculated based on the largest historical partition data volume)`. The previous rule was to calculate the bucket number based on the largest historical partition data volume. [#47949](https://github.com/StarRocks/starrocks/pull/47949)

### Bug Fixes

Fixed the following issues:
Expand Down
2 changes: 1 addition & 1 deletion docs/en/release_notes/release-3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Release date: June 21, 2024
#### Table Creation and Data Distribution
- Users must specify Distribution Key when creating a colocate table using CTAS. [#45537](https://github.com/StarRocks/starrocks/pull/45537)
- When users create a non-partitioned table without specifying bucket number, the minimum bucket number the system set for the table is `16` (instead of `2` based on the formula `2*BE count`). If users want to set a smaller bucket number when creating a small table, they must set it explicitly. [#47005](https://github.com/StarRocks/starrocks/pull/47005)
- When users create a non-partitioned table without specifying the bucket number, the minimum bucket number the system sets for the table is `16` (instead of `2` based on the formula `2*BE or CN count`). If users want to set a smaller bucket number when creating a small table, they must set it explicitly. [#47005](https://github.com/StarRocks/starrocks/pull/47005)
#### Loading and Unloading
Expand Down
6 changes: 6 additions & 0 deletions docs/zh/release_notes/release-3.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ displayed_sidebar: "Chinese"
- 给表属性赋值时添加空格不生效。[#47119](https://github.com/StarRocks/starrocks/pull/47119)
- 对主键表并发执行迁移操作和 Index Compaction 时导致 BE Crash。[#46675](https://github.com/StarRocks/starrocks/pull/46675)

### 行为变更

- 修改 `JAVA_OPTS` 参数继承顺序,如果使用 JDK_9 或 JDK_11 以外的版本,用户需直接在 `JAVA_OPTS` 中配置。[#47495](https://github.com/StarRocks/starrocks/pull/47495)
- 用户创建非分区表但未设置分桶数时,系统自动设置的分桶数最小值修改为 `16`(原来的规则是 `2 * BE 或 CN 数量`,也即最小会创建 2 个 Tablet)。如果是小数据且想要更小的分桶数,需要手动设置。[#47005](https://github.com/StarRocks/starrocks/pull/47005)
- 用户创建分区表但未设置分桶数时,当分区数量超过 5 个后,系统自动设置分桶数的规则更改为 `max(2 * BE 或 CN 数量, 根据最大历史分区数据量计算得出的分桶数)`。原来的规则是根据最大历史分区数据量计算分桶数。[#47949](https://github.com/StarRocks/starrocks/pull/47949)

## 3.2.8

发布日期:2024 年 6 月 7 日
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/release_notes/release-3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ displayed_sidebar: "Chinese"
#### 建表与分区分桶

- 用户使用 CTAS 创建 Colocate 表时,必须指定 Distribution Key。[#45537](https://github.com/StarRocks/starrocks/pull/45537)
- 用户创建非分区表但未设置分桶数时,系统自动设置的分桶数最小值修改为 `16`(原来的规则是 `2 * BE 数量`,也即最小会创建 2 个 Tablet)。如果是小数据且想要更小的分桶数,需要手动设置。[#47005](https://github.com/StarRocks/starrocks/pull/47005)
- 用户创建非分区表但未设置分桶数时,系统自动设置的分桶数最小值修改为 `16`(原来的规则是 `2 * BE 或 CN 数量`,也即最小会创建 2 个 Tablet)。如果是小数据且想要更小的分桶数,需要手动设置。[#47005](https://github.com/StarRocks/starrocks/pull/47005)

#### 导入与导出

Expand Down

0 comments on commit 8166137

Please sign in to comment.