RaigorJiang opened a new issue, #22926:
URL: https://github.com/apache/shardingsphere/issues/22926

   ## Bug Report
   ### Which version of ShardingSphere did you use?
   master 6f625cf
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   When using the standard way to create sharding table rule, the auto sharding 
algorithm is not allowed, like `MOD`, `HASH_MOD`.
   
   ### Actual behavior
   Can now use the auto sharding algorithm to create standard sharding table 
rule
   ```sql
   mysql> CREATE SHARDING TABLE RULE t_order_item (
       -> DATANODES("ds_${0..1}.t_order_item"),
       -> 
DATABASE_STRATEGY(TYPE="standard",SHARDING_COLUMN=user_id,SHARDING_ALGORITHM(TYPE(NAME="MOD",PROPERTIES("sharding-count"=4))))
       -> );
   Query OK, 0 rows affected (0.38 sec)
   
   mysql> 
   ```
   
   ### Reason analyze (If you can)
   Similar to https://github.com/apache/shardingsphere/pull/22900
   


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