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 2020/08/27 02:16:51 UTC
[GitHub] [shardingsphere] fantacy2001 edited a comment on issue #7091: sharding jdbc the sql of select DISTINCT in version 4.0.0 is support but in version 4.1.1 is not support
fantacy2001 edited a comment on issue #7091:
URL: https://github.com/apache/shardingsphere/issues/7091#issuecomment-681301174
> can you show your configuration and actual sql?
version 4.1.1, When routing, the PreciseShardingAlgorithm do not called, so route to default db.
The actual SQL is what I sent above。
Because I redefined sharding's access with Java, the configuration file is different from the official one。
It is divided into two libraries, each of which has one master and two slaves。
sharding field: tenant_id
KeyGenerator is baidu UID
bindingTables is machining_src_detail 、machining_dest_detail
the customize sharding Algorithm ,implements PreciseShardingAlgorithm
----------------------------------------------------------------
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