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 2019/09/04 10:11:11 UTC

[GitHub] [incubator-shardingsphere] wangzhengxi commented on issue #2915: sharding-proxy mysql varchar can not complete display

wangzhengxi commented on issue #2915: sharding-proxy mysql  varchar can not complete display
URL: https://github.com/apache/incubator-shardingsphere/issues/2915#issuecomment-527836769
 
 
   shardingRule:
     tables:
       ops_pick_task:
         actualDataNodes: yl-ops-0${1..9}.ops_pick_task_${0..31},yl-ops-1${0..2}.ops_pick_task_${0..31}
         databaseStrategy:
           standard:
             shardingColumn: order_id
             preciseAlgorithmClassName: com.yl.sharding.spi.MyPreciseShardingAlgorithm
         tableStrategy: 
           inline:
             shardingColumn: order_id
             algorithmExpression: ops_pick_task_$->{Math.abs(order_id.hashCode()) % 32}

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services