Skip to content

Commit

Permalink
[Doc](auto-partition) Add version restriction for null value partition (
Browse files Browse the repository at this point in the history
  • Loading branch information
zclllyybb authored Apr 8, 2024
1 parent 132856f commit b3df4dc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/advanced/partition/auto-partition.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ Note: In version 2.1.0, `FUNC_CALL_EXPR` does not need to be surrounded by paren

### NULL-valued partition

:::info Note
As of 2.1.2, Doris supports the following features.
:::

Both LIST and RANGE partitions support NULL columns as partition columns when the session variable `allow_partition_column_nullable` is turned on. When a partition column actually encounters an insert with a NULL value:

1. For an AUTO LIST PARTITION, the corresponding NULL-valued partition is automatically created:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ PROPERTIES (

### NULL 值分区

:::info 备注
从 2.1.2 开始,Doris 支持以下功能。
:::

当开启 session variable `allow_partition_column_nullable` 后,LIST 和 RANGE 分区都支持 NULL 列作为分区列。当分区列实际遇到 NULL 值的插入时:

1. 对于 AUTO LIST PARTITION,会自动创建对应的 NULL 值分区:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ PROPERTIES (

### NULL 值分区

:::info 备注
从 2.1.2 开始,Doris 支持以下功能。
:::

当开启 session variable `allow_partition_column_nullable` 后,LIST 和 RANGE 分区都支持 NULL 列作为分区列。当分区列实际遇到 NULL 值的插入时:

1. 对于 AUTO LIST PARTITION,会自动创建对应的 NULL 值分区:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ Note: In version 2.1.0, `FUNC_CALL_EXPR` does not need to be surrounded by paren

### NULL-valued partition

:::info Note
As of 2.1.2, Doris supports the following features.
:::

Both LIST and RANGE partitions support NULL columns as partition columns when the session variable `allow_partition_column_nullable` is turned on. When a partition column actually encounters an insert with a NULL value:

1. For an AUTO LIST PARTITION, the corresponding NULL-valued partition is automatically created:
Expand Down

0 comments on commit b3df4dc

Please sign in to comment.