Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/sql-manual/basic-element/sql-data-types/uuid.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in docs/sql-manual/basic-element/sql-data-types/uuid.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-missing

English current and 4.x docs are strongly synchronized%2C but the 4.x counterpart is missing. Add it or explain the version-specific exception in the PR description. Owner%3A @apache/doris-website-maintainers
{
"title": "UUID Data Type",
"sidebar_label": "UUID",
Expand Down Expand Up @@ -97,7 +97,8 @@

## Table design and restrictions

- UUID columns can be keys in Duplicate, Unique, and Aggregate tables, hash distribution columns, and manual RANGE or LIST partition columns. Specify partition boundaries as quoted UUID text. Numeric-step batch range creation does not apply to UUID.
- UUID columns can be keys in Duplicate, Unique, and Aggregate tables and hash distribution columns.
- UUID columns cannot be RANGE or LIST partition columns, including in multi-column partitions or `AUTO PARTITION BY LIST`. Dynamic partitioning on UUID columns is also unsupported.
- UUID values support comparison, `IN`, sorting, grouping, joins, `MIN`, `MAX`, and `COUNT(DISTINCT ...)`. UUID is not a numeric type: arithmetic and numeric aggregates such as `SUM` and `AVG` are not supported.
- Aggregate-table UUID value columns support `MIN`, `MAX`, `REPLACE`, and `REPLACE_IF_NOT_NULL`.
- UUID can be an ARRAY element, a MAP key or value, or a STRUCT field. The existing constraints on the outer complex type still apply.
Expand Down
8 changes: 2 additions & 6 deletions docs/table-design/data-partitioning/manual-partitioning.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in docs/table-design/data-partitioning/manual-partitioning.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @apache/doris-website-maintainers

Check warning on line 1 in docs/table-design/data-partitioning/manual-partitioning.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-counterpart

English current and 4.x docs are strongly synchronized. Update the counterpart or explain the version-specific exception in the PR description. Owner%3A @apache/doris-website-maintainers

Check warning on line 1 in docs/table-design/data-partitioning/manual-partitioning.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "Manual Partitioning - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers

Check warning on line 1 in docs/table-design/data-partitioning/manual-partitioning.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 239. Owner%3A @apache/doris-website-maintainers
{
"title": "Manual Partitioning",
"language": "en",
Expand All @@ -25,9 +25,7 @@

Range partitioning divides data into different partitions based on the value range of the partition column. The partition column is typically a time column, which makes it easy to manage old and new data.

**Supported column types:** `DATE`, `DATETIME`, `TIMESTAMP_NS`, `TIMESTAMPTZ`, `TINYINT`, `SMALLINT`, `INT`, `BIGINT`, `LARGEINT`, `UUID`.

UUID partition boundaries accept quoted canonical or compact hexadecimal text. Numeric-step batch RANGE creation does not apply to UUID.
**Supported column types:** `DATE`, `DATETIME`, `TIMESTAMP_NS`, `TIMESTAMPTZ`, `TINYINT`, `SMALLINT`, `INT`, `BIGINT`, `LARGEINT`.

Range partitioning supports the following four forms, suitable for different scenarios:

Expand Down Expand Up @@ -143,9 +141,7 @@

List partitioning divides data into different partitions based on the enumerated values of the partition column. A row is routed to a partition only if its value matches one of the enumerated values defined for that partition.

**Supported column types:** `BOOLEAN`, `TINYINT`, `SMALLINT`, `INT`, `BIGINT`, `LARGEINT`, `DATE`, `DATETIME`, `TIMESTAMP_NS`, `TIMESTAMPTZ`, `CHAR`, `VARCHAR`, `UUID`.

UUID partition values accept quoted canonical or compact hexadecimal text. Different letter cases or hyphen formats of the same UUID represent the same partition value.
**Supported column types:** `BOOLEAN`, `TINYINT`, `SMALLINT`, `INT`, `BIGINT`, `LARGEINT`, `DATE`, `DATETIME`, `TIMESTAMP_NS`, `TIMESTAMPTZ`, `CHAR`, `VARCHAR`.

**Syntax keyword:** Use `VALUES IN (...)` to specify the enumerated values contained in each partition.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/sql-data-types/uuid.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 40. Owner%3A @apache/doris-website-maintainers
{
"title": "UUID 数据类型",
"sidebar_label": "UUID",
Expand Down Expand Up @@ -97,7 +97,8 @@

## 表设计和限制

- UUID 列可作为 Duplicate、Unique 和 Aggregate 表的 Key 列、Hash 分桶列以及手动 RANGE 或 LIST 分区列。分区边界使用带引号的 UUID 文本。基于数值步长批量创建 RANGE 分区的方式不适用于 UUID。
- UUID 列可作为 Duplicate、Unique 和 Aggregate 表的 Key 列以及 Hash 分桶列。
- UUID 列不能作为 RANGE 或 LIST 分区列,包括多列分区和 `AUTO PARTITION BY LIST`,也不支持基于 UUID 列进行动态分区。
- UUID 值支持比较、`IN`、排序、分组、关联、`MIN`、`MAX` 和 `COUNT(DISTINCT ...)`。UUID 不是数值类型,不支持算术运算以及 `SUM`、`AVG` 等数值聚合。
- Aggregate 表的 UUID Value 列支持 `MIN`、`MAX`、`REPLACE` 和 `REPLACE_IF_NOT_NULL`。
- UUID 可用作 ARRAY 元素、MAP 的键或值以及 STRUCT 字段;外层复杂类型的原有限制仍然适用。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/data-partitioning/manual-partitioning.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "手动分区 - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @apache/doris-website-maintainers
{
"title": "手动分区",
"language": "zh-CN",
Expand All @@ -25,9 +25,7 @@

Range 分区按照分区列的取值范围将数据划分到不同分区。分区列通常为时间列,便于管理新旧数据。

**支持的列类型:** `DATE`、`DATETIME`、`TIMESTAMP_NS`、`TIMESTAMPTZ`、`TINYINT`、`SMALLINT`、`INT`、`BIGINT`、`LARGEINT`、`UUID`。

UUID 分区边界接受带引号的标准格式或紧凑十六进制文本。不支持为 UUID 按数值步长批量创建 RANGE 分区。
**支持的列类型:** `DATE`、`DATETIME`、`TIMESTAMP_NS`、`TIMESTAMPTZ`、`TINYINT`、`SMALLINT`、`INT`、`BIGINT`、`LARGEINT`。

Range 分区支持以下四种写法,适用于不同场景:

Expand Down Expand Up @@ -143,9 +141,7 @@

List 分区按照分区列的枚举值将数据划分到不同分区。只有当数据为目标分区枚举值其中之一时,才可以命中分区。

**支持的列类型:** `BOOLEAN`、`TINYINT`、`SMALLINT`、`INT`、`BIGINT`、`LARGEINT`、`DATE`、`DATETIME`、`TIMESTAMP_NS`、`TIMESTAMPTZ`、`CHAR`、`VARCHAR`、`UUID`。

UUID 分区值接受带引号的标准格式或紧凑十六进制文本。同一个 UUID 的大小写或连字符格式不同,仍表示相同的分区值。
**支持的列类型:** `BOOLEAN`、`TINYINT`、`SMALLINT`、`INT`、`BIGINT`、`LARGEINT`、`DATE`、`DATETIME`、`TIMESTAMP_NS`、`TIMESTAMPTZ`、`CHAR`、`VARCHAR`。

**语法关键字:** 通过 `VALUES IN (...)` 指定每个分区包含的枚举值。

Expand Down
Loading