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/04/28 02:04:38 UTC

[GitHub] [shardingsphere] Ahoo-Wang commented on pull request #17160: fix the CosIdModShardingAlgorithm lost the mod configuration parameter.

Ahoo-Wang commented on PR #17160:
URL: https://github.com/apache/shardingsphere/pull/17160#issuecomment-1111659924

   > It is necessary to set String value to properties. Do we need to support set other type into properties?
   
   Yes,When configured with spring-boot yaml the value is parsed as an int.
   
   ``` yaml
           sharding-algorithms:
             algorithm-name:
               type: COSID_MOD
               props:
                 mod: 2
                 logic-name-prefix: t_table_
   ```


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