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/04/15 05:45:21 UTC

[GitHub] [shardingsphere] laravelshao opened a new issue #10095: How sharding-jdbc config complex & hint sharding strategy together for same table

laravelshao opened a new issue #10095:
URL: https://github.com/apache/shardingsphere/issues/10095


   ### Which version of ShardingSphere did you use?
   4.1.1
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-JDBC
   
   ### Expected behavior
   If has shardingColumn will use my custom complex sharding strategy, if has custom HintManager use hint sharding strategy.
   
   ### Actual behavior
   But TableRuleConfiguration can only config for one sharding strategy. If config a table for hint sharding strategy, will always use hint sharding strategy. In version 3.0.0.M1 both sharding strategy can  work together.
   


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



[GitHub] [shardingsphere] tristaZero commented on issue #10095: How sharding-jdbc config complex & hint sharding strategy together for same table

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #10095:
URL: https://github.com/apache/shardingsphere/issues/10095#issuecomment-820360715


   Hi @laravelshao currently, sharding sphere does not support two different strategies for one single table.  But you can configure two sharding tables (Just different names) with two strategies.


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



[GitHub] [shardingsphere] laravelshao closed issue #10095: How sharding-jdbc config complex & hint sharding strategy together for same table

Posted by GitBox <gi...@apache.org>.
laravelshao closed issue #10095:
URL: https://github.com/apache/shardingsphere/issues/10095


   


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



[GitHub] [shardingsphere] laravelshao commented on issue #10095: How sharding-jdbc config complex & hint sharding strategy together for same table

Posted by GitBox <gi...@apache.org>.
laravelshao commented on issue #10095:
URL: https://github.com/apache/shardingsphere/issues/10095#issuecomment-820293294


   @yu199195 Is sharding-jdbc support multi strategy for one 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:
users@infra.apache.org



[GitHub] [shardingsphere] laravelshao commented on issue #10095: How sharding-jdbc config complex & hint sharding strategy together for same table

Posted by GitBox <gi...@apache.org>.
laravelshao commented on issue #10095:
URL: https://github.com/apache/shardingsphere/issues/10095#issuecomment-820400054


   @tristaZero How to configure two sharding tables for one single table, Can you give more information?


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