strongduanmu commented on issue #13960:
URL: 
https://github.com/apache/shardingsphere/issues/13960#issuecomment-987485695


   Hi @happyi, I noticed that you are using the automatic sharding algorithm. 
The automatic sharding algorithm cannot be configured in the tables attribute. 
Please refer to the documentation for the correct configuration 
method——https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/yaml-config/rules/sharding/.
   
   ```yaml
   rules:
   - !SHARDING
     autoTables: # 自动分片表规则配置
       t_order_auto: # 逻辑表名称
         actualDataSources (?): # 数据源名称
         shardingStrategy: # 切分策略
           standard: # 用于单分片键的标准分片场景
             shardingColumn: # 分片列名称
             shardingAlgorithmName: # 自动分片算法名称
   ```


-- 
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]


Reply via email to