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
4 changes: 2 additions & 2 deletions docs/data-operate/update/update-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following diagram shows how `DORIS_DELETE_SIGN` works:

Starting from version 2.0, Doris supports powerful partial column update capabilities on Unique Key Models (MoW). When loading data, users only need to provide the primary key and columns to be updated; unprovided columns will maintain their original values unchanged. This greatly simplifies ETL processes for scenarios like wide table joining and real-time tag updates.

To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_partial_update` property to `true`, or configure the `"partial_columns"` parameter during data load.
To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_merge_on_write` property to `true`, or configure the `"partial_columns"` parameter during data load.

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- Initial data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ PROPERTIES (

从 2.0 版本开始,Doris 在主键模型(MoW)上支持了强大的部分列更新能力。用户在导入数据时,只需提供主键和待更新的列,未提供的列将保持其原值不变。这极大地简化了宽表拼接、实时标签更新等场景的ETL流程。

要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_partial_update` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数
要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_merge_on_write` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- 初始数据
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ PROPERTIES (

从 2.0 版本开始,Doris 在主键模型(MoW)上支持了强大的部分列更新能力。用户在导入数据时,只需提供主键和待更新的列,未提供的列将保持其原值不变。这极大地简化了宽表拼接、实时标签更新等场景的ETL流程。

要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_partial_update` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数
要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_merge_on_write` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- 初始数据
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ PROPERTIES (

从 2.0 版本开始,Doris 在主键模型(MoW)上支持了强大的部分列更新能力。用户在导入数据时,只需提供主键和待更新的列,未提供的列将保持其原值不变。这极大地简化了宽表拼接、实时标签更新等场景的ETL流程。

要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_partial_update` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数
要启用此功能,需在创建主键模型表时,开启 Merge-on-Write (MoW) 模式,并设置 `enable_unique_key_merge_on_write` 属性为 `true`。或者在数据导入时配置`"partial_columns"`参数

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- 初始数据
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following diagram shows how `DORIS_DELETE_SIGN` works:

Starting from version 2.0, Doris supports powerful partial column update capabilities on Unique Key Models (MoW). When loading data, users only need to provide the primary key and columns to be updated; unprovided columns will maintain their original values unchanged. This greatly simplifies ETL processes for scenarios like wide table joining and real-time tag updates.

To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_partial_update` property to `true`, or configure the `"partial_columns"` parameter during data load.
To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_merge_on_write` property to `true`, or configure the `"partial_columns"` parameter during data load.

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- Initial data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following diagram shows how `DORIS_DELETE_SIGN` works:

Starting from version 2.0, Doris supports powerful partial column update capabilities on Unique Key Models (MoW). When loading data, users only need to provide the primary key and columns to be updated; unprovided columns will maintain their original values unchanged. This greatly simplifies ETL processes for scenarios like wide table joining and real-time tag updates.

To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_partial_update` property to `true`, or configure the `"partial_columns"` parameter during data load.
To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_merge_on_write` property to `true`, or configure the `"partial_columns"` parameter during data load.

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- Initial data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following diagram shows how `DORIS_DELETE_SIGN` works:

Starting from version 2.0, Doris supports powerful partial column update capabilities on Unique Key Models (MoW). When loading data, users only need to provide the primary key and columns to be updated; unprovided columns will maintain their original values unchanged. This greatly simplifies ETL processes for scenarios like wide table joining and real-time tag updates.

To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_partial_update` property to `true`, or configure the `"partial_columns"` parameter during data load.
To enable this functionality, you need to enable Merge-on-Write (MoW) mode when creating Unique Key Model tables and set the `enable_unique_key_merge_on_write` property to `true`, or configure the `"partial_columns"` parameter during data load.

```sql
CREATE TABLE user_profiles (
Expand All @@ -169,7 +169,7 @@ CREATE TABLE user_profiles (
UNIQUE KEY(user_id)
DISTRIBUTED BY HASH(user_id)
PROPERTIES (
"enable_unique_key_partial_update" = "true"
"enable_unique_key_merge_on_write" = "true"
);

-- Initial data
Expand Down