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/08/16 08:15:42 UTC

[GitHub] [incubator-shardingsphere] KomachiSion edited a comment on issue #2826: Ability to define behaviour when sharding column is not present in the SQL

KomachiSion edited a comment on issue #2826: Ability to define behaviour when sharding column is not present in the SQL
URL: https://github.com/apache/incubator-shardingsphere/issues/2826#issuecomment-521927521
 
 
   > @KomachiSion
   > Thanks.
   > I have 800 tables,only 20 tables need to shard
   > 20 tables add Rules Can shard and Routing to different databases.
   > In addition, tables that do not need shard can’t Routing to different databases.
   > I wrote a MyHintShardingAlgorithm. but if It doesn't work.
   > Without shard field it‘s can't into MyHintShardingAlgorithm.doSharding();
   
   Try to use default-data-source instead of hint.
   It should be used when tables are not sharding tables.

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