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 2021/12/17 03:34:53 UTC
[GitHub] [shardingsphere] tuichenchuxin commented on issue #14128: query is not case sensitive when i use shardingColumn.
tuichenchuxin commented on issue #14128:
URL: https://github.com/apache/shardingsphere/issues/14128#issuecomment-996410107
When shardingSphere doSharding will use `groovy.lang.Closure`. Actually, the config ShardingColumn is not case sensitive. But the `closure` and the sharding value in your sql must be same.
For example
if closure is `t_order_$->{Guid % 2} `
then your sql must be `Guid`
--
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