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/09/08 13:25:18 UTC

[GitHub] [incubator-shardingsphere] betterjava opened a new pull request #3002: Support hint in sharding-proxy

betterjava opened a new pull request #3002: Support hint in sharding-proxy
URL: https://github.com/apache/incubator-shardingsphere/pull/3002
 
 
   Fixes #2979.
   
   Changes proposed in this pull request:
   - support hint in sharding-proxy,client can write sql like bellow:
     - addDatabaseShardingValue
       sctl:hint set hint_type=DATABASE_TABLES
       sctl:hint set addDatabaseShardingValue xx=yy ## xx:logicTable yy:shardingValue
   
     - addTableShardingValue
       sctl:hint set hint_type=DATABASE_TABLES
       sctl:hint set addTableShardingValue xx=yy ## xx:logicTable yy:shardingValue
   
     - setDatabaseShardingValue
       sctl:hint set hint_type=DATABASE_ONLY
       sctl:hint set setDatabaseShardingValue yy ## yy:shardingValue
   
     - setMasterRouteOnly
        sctl:hint set hint_type=MASTER_ONLY
   
     - clear 
       sctl:hint clear
   
   

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