Skip to content

Commit

Permalink
[doc] Fix delete syntax doc
Browse files Browse the repository at this point in the history
  • Loading branch information
liyubin117 committed Nov 21, 2024
1 parent d381e12 commit d72d1fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/content/flink/sql-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}

Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/shortcodes/generated/core_configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
<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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit d72d1fc

Please sign in to comment.