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/02/13 06:03:50 UTC

[GitHub] [incubator-shardingsphere] gxgmy521 opened a new issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse

gxgmy521 opened a new issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse
URL: https://github.com/apache/incubator-shardingsphere/issues/4281
 
 
   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/incubator-shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response **more than 7 days** and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   4.0.0
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-JDBC
   ### Expected behavior
   In the ShardingSphere Doc, it says that users can use hintManager.setDatabaseShardingValue to add shardings in hint route to some certain sharding database without sharding tables. After that, SQL parse and rewrite phase will be skipped and the overall enforcement efficiency can be enhanced.
   I think that in version 4.0.0 ,the setDatabaseShardingValue can only sikp the sql rewrite ,can't skip the sql parse , am i wrong?
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   

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

[GitHub] [incubator-shardingsphere] KomachiSion closed issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse

Posted by GitBox <gi...@apache.org>.
KomachiSion closed issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse
URL: https://github.com/apache/incubator-shardingsphere/issues/4281
 
 
   

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

[GitHub] [incubator-shardingsphere] KomachiSion commented on issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse

Posted by GitBox <gi...@apache.org>.
KomachiSion commented on issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse
URL: https://github.com/apache/incubator-shardingsphere/issues/4281#issuecomment-588565740
 
 
   No response, close issue.

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

[GitHub] [shardingsphere] gongguoyu commented on issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse

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


   @KomachiSion Hello, if 4.0.0-rc2 cannot be skipped, which version can be skipped?


----------------------------------------------------------------
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] [incubator-shardingsphere] KomachiSion commented on issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse

Posted by GitBox <gi...@apache.org>.
KomachiSion commented on issue #4281: Use hintManager.setDatabaseShardingValue can not skip the sql parse
URL: https://github.com/apache/incubator-shardingsphere/issues/4281#issuecomment-585580179
 
 
   In 4.0.0, All SQL will be parse. `setDatabaseShardingValue` is only set the hint value, which will be used in route step.

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