RaigorJiang commented on a change in pull request #13424:
URL: https://github.com/apache/shardingsphere/pull/13424#discussion_r742504012
##########
File path:
docs/document/content/user-manual/shardingsphere-proxy/usage/distsql/syntax/rdl/rdl-sharding-rule.cn.md
##########
@@ -148,8 +150,16 @@ CREATE DEFAULT SHARDING DATABASE STRATEGY (
TYPE = standard,SHARDING_COLUMN=order_id,SHARDING_ALGORITHM=algorithmsName
);
-CREATE SHARDING ALGORITHM algorithmName (
-TYPE(NAME=hash_mod,PROPERTIES("algorithm-expression"="t_order_${order_id %
2}"))
+CREATE SHARDING ALGORITHM database_inline (
+TYPE(NAME=inline,PROPERTIES("algorithm-expression"="t_order_item_${order_id %
2}"))
Review comment:
database algorithm should use data source name
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]