JingsongLi commented on code in PR #562: URL: https://github.com/apache/flink-table-store/pull/562#discussion_r1119970575
########## docs/content/docs/features/append-only-table.md: ########## @@ -0,0 +1,98 @@ +--- +title: "Append Only Table" +weight: 2 +type: docs +aliases: +- /features/append-only-table.html +--- +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +# Append Only Table + +By specifying `'write-mode' = 'append-only'` when creating the table, user creates an append-only table. + +You can only insert a whole 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). + +## Distribution + +You also need to define bucket number for Append-only table, see [Bucket]({{< ref "docs/concepts/basic-concepts#bucket" >}}). + +It is recommended that you set the `bucket-key` field. Otherwise, the data will be hashed according to the whole row, +and the performance will be poor. + Review Comment: Bucketing is not only for performance, but also related to the order. I will just change `Distribution` to `Bucketing`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org