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/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new e7dde4094 [doc] Table is append-only if no primary key
e7dde4094 is described below

commit e7dde40947af58add489a55d9e7aab6d20eb6eba
Author: JingsongLi <[email protected]>
AuthorDate: Thu May 4 16:00:11 2023 +0800

    [doc] Table is append-only if no primary key
---
 docs/content/concepts/append-only-table.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/content/concepts/append-only-table.md 
b/docs/content/concepts/append-only-table.md
index b776995e6..2e483acee 100644
--- a/docs/content/concepts/append-only-table.md
+++ b/docs/content/concepts/append-only-table.md
@@ -26,7 +26,7 @@ under the License.
 
 # Append Only Table
 
-By specifying `'write-mode' = 'append-only'` when creating the table, user 
creates an append-only table.
+If a table does not have a primary key defined, it is an append-only table by 
default.
 
 You can only insert a complete record into the table. No delete or update is 
supported and you cannot define primary keys.
 This type of table is suitable for use cases that do not require updates (such 
as log data synchronization).
@@ -176,7 +176,6 @@ CREATE TABLE MyTable (
     price DOUBLE,
     sales BIGINT
 ) WITH (
-    'write-mode' = 'append-only',
     'bucket' = '8',
     'bucket-key' = 'product_id'
 );

Reply via email to