KomachiSion edited a comment on issue #5212: can not insert into proxy
URL: 
https://github.com/apache/incubator-shardingsphere/issues/5212#issuecomment-614976837
 
 
   your `user_id` is varcher type which will be map to `String` java type. So 
your configuration need some change like :
   ```
    defaultDatabaseStrategy:
      inline:
        shardingColumn: user_id
        algorithmExpression: ds_${Integer.parseInt(user_id) % 2}
   ```
   

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


With regards,
Apache Git Services

Reply via email to