KomachiSion commented 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 is not sharding table.

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