You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/08/02 04:33:43 UTC

[GitHub] [shardingsphere] TeslaCN commented on a diff in pull request #19774: DistSQL related document formatting

TeslaCN commented on code in PR #19774:
URL: https://github.com/apache/shardingsphere/pull/19774#discussion_r935104761


##########
docs/document/content/reference/distsql/syntax/rdl/rule-definition/sharding/create-sharding-binding-table-rule.cn.md:
##########
@@ -25,8 +25,9 @@ tableName ::=
 - 只有分片表才能创建绑定关系
 - 一个分片表只能具有一个绑定关系
 - 添加绑定关系的分片表需要使用相同的资源,并且分片节点个数相同。例如 `ds_${0..1}.t_order_${0..1}` 与 `ds_${0..1}.t_order_item_${0..1}`
-- 添加绑定关系的分片表需要对分片键使用相同的分片算法。例如 `t_order_${order_id % 2}` 与 `t_order_item_${order_item_id % 2}` 
-- 只能存在一个绑定规则,但可包含多个绑定关系,因此无法重复执行 `CREATE SHARDING BINDING TABLE RULE` 。当绑定规则已经存在但还需要添加绑定关系时,需要使用 `ALTER SHARDING BINDING TABLE RULE` 来修改绑定规则
+- 添加绑定关系的分片表需要对分片键使用相同的分片算法。例如 `t_order_${order_id % 2}` 与 `t_order_item_${order_item_id % 2}`
+- 只能存在一个绑定规则,但可包含多个绑定关系,因此无法重复执行 `CREATE SHARDING BINDING TABLE RULE`
+  。当绑定规则已经存在但还需要添加绑定关系时,需要使用 `ALTER SHARDING BINDING TABLE RULE` 来修改绑定规则

Review Comment:
   Please check here again.



-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org