This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git


The following commit(s) were added to refs/heads/main by this push:
     new c2ba9293b [docs] Fix the INSERT statement in "PrimaryKey Table" page 
(#1406)
c2ba9293b is described below

commit c2ba9293bcc46fa63ed1870919c335ab51779946
Author: Zmm <[email protected]>
AuthorDate: Thu Jul 31 20:17:01 2025 +0800

    [docs] Fix the INSERT statement in "PrimaryKey Table" page (#1406)
---
 website/docs/table-design/table-types/pk-table/index.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/website/docs/table-design/table-types/pk-table/index.md 
b/website/docs/table-design/table-types/pk-table/index.md
index 5efa5dd42..150301b2b 100644
--- a/website/docs/table-design/table-types/pk-table/index.md
+++ b/website/docs/table-design/table-types/pk-table/index.md
@@ -130,8 +130,8 @@ be generated. For example, the following Flink SQL 
statements illustrate this be
 SET execution.runtime-mode = batch;
 
 -- insert to records with the same primary key k=1
-INSERT INTO T (k, v1) VALUES (1, 2.0,'apple');
-INSERT INTO T (k, v1) VALUES (1, 4.0,'banana');
+INSERT INTO T (k, v1, v2) VALUES (1, 2.0, 'apple');
+INSERT INTO T (k, v1, v2) VALUES (1, 4.0, 'banana');
 
 -- delete the record with primary key k=1
 DELETE FROM T WHERE k = 1;
@@ -144,14 +144,14 @@ SELECT * FROM T;
 Generate the following output in the Flink SQL CLI:
 
 ```
-+-----------------------------+
++------+------+------+--------+
 | op   | k    | v1   | v2     |
 | ---- | ---- | ---- | ------ |
 | +I   | 1    | 2.0  | apple  |
 | -U   | 1    | 2.0  | apple  |
 | +U   | 1    | 4.0  | banana |
 | -D   | 1    | 4.0  | banana |
-+-----------------------------+
++------+------+------+--------+
 4 rows in set
 ```
 

Reply via email to