xianshun163 opened a new issue #9946:
URL: https://github.com/apache/shardingsphere/issues/9946


   ## Question
   I  want to know  how to  config the  config-sharding.yaml  file   about use 
the  "HashModShardingAlgorithm"  shardingAlgorithms .
   
   There is an  example  in the  file   config-sharding.yaml  like this :
         t_order:
           actualDataNodes: ds_${0..1}.t_order_${0..2}
           tableStrategy:
             standard:
               shardingColumn: order_id
               shardingAlgorithmName: t_order_inline
         t_order_inline:
           type: INLINE
           props:
             algorithm-expression: t_order_${order_id % 2}
   
   I have try the  example,  and it  works  well.  
   But I  want to  use the  HashModShardingAlgorithm to  sharding my  data. 
   It is there  any example  about how to config it?
   
   My version  is  shardingsphere proxy 5.0.0 .
   
   Thanks!
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to