This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 04f4581812 [doc] Improve doc for delete syntax (#4560)
04f4581812 is described below
commit 04f45818128405813d68edcc1b68f0857c9146dc
Author: Yubin Li <[email protected]>
AuthorDate: Fri Nov 22 17:26:19 2024 +0800
[doc] Improve doc for delete syntax (#4560)
---
docs/content/flink/sql-write.md | 4 +++-
docs/layouts/shortcodes/generated/core_configuration.html | 2 +-
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/content/flink/sql-write.md b/docs/content/flink/sql-write.md
index 33adac5fb7..58e90a8f6e 100644
--- a/docs/content/flink/sql-write.md
+++ b/docs/content/flink/sql-write.md
@@ -211,7 +211,9 @@ UPDATE my_table SET b = 1, c = 2 WHERE a = 'myTable';
{{< hint info >}}
Important table properties setting:
1. Only primary key tables support this feature.
-2. If the table has primary keys, [MergeEngine]({{< ref
"primary-key-table/merge-engine" >}}) needs to be [deduplicate]({{< ref
"primary-key-table/merge-engine#deduplicate" >}}) to support this feature.
+2. If the table has primary keys, the following [MergeEngine]({{< ref
"primary-key-table/merge-engine" >}}) support this feature:
+ * [deduplicate]({{< ref "primary-key-table/merge-engine#deduplicate" >}}).
+ * [partial-update]({{< ref "primary-key-table/merge-engine#partial-update"
>}}) with option 'partial-update.remove-record-on-delete' enabled.
3. Do not support deleting from table in streaming mode.
{{< /hint >}}
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html
b/docs/layouts/shortcodes/generated/core_configuration.html
index 3efeaeb3e8..a38f07784f 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -561,7 +561,7 @@ This config option does not affect the default filesystem
metastore.</td>
<td><h5>partial-update.remove-record-on-sequence-group</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>String</td>
- <td>Whether to remove the whole row in partial-update engine when
-D records of specified sequence group are received.</td>
+ <td>When -D records of the given sequence groups are received,
remove the whole row.</td>
</tr>
<tr>
<td><h5>partition</h5></td>
diff --git a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
index 9875e2fac4..fce09357f0 100644
--- a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
@@ -637,7 +637,7 @@ public class CoreOptions implements Serializable {
.stringType()
.noDefaultValue()
.withDescription(
- "Whether to remove the whole row in partial-update
engine when -D records of specified sequence group are received.");
+ "When -D records of the given sequence groups are
received, remove the whole row.");
@Immutable
public static final ConfigOption<String> ROWKIND_FIELD =