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 2022/10/10 06:41:47 UTC

[GitHub] [shardingsphere] yaofeng8888 opened a new issue, #16481: About user customize sql with force index

yaofeng8888 opened a new issue, #16481:
URL: https://github.com/apache/shardingsphere/issues/16481

   ## Question
   sharding-jdbc-core :version 3.1.0
   sharding-jdbc-spring-namespace : version 3.1.0
   desc:
    when i was use force index,the program error 。
    java.sql.SQLSyntaxErrorException: Key 'idx_createdon_WT_WRONG_0' doesn't exist in table 'WT_WRONG_0'
    but "idx_createdon" is my index, "WT_WRONG" is table name
   the sql operation result is :select * from WT_WRONG force index(idx_createdon)
    
   thanks 


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang closed issue #16481: About user customize sql with force index

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #16481: About user customize sql with force index
URL: https://github.com/apache/shardingsphere/issues/16481


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang commented on issue #16481: About user customize sql with force index

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

   @yaofeng8888 
   Sorry for the late reply. 
   In the sharding scenario, the actual table name has been rewritten according to the algorithm, and the index name will also be rewritten. It is difficult for users to specify a clear index through SQL.
   Therefore, this method is not feasible.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] commented on issue #16481: About user customize sql with force index

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16481:
URL: https://github.com/apache/shardingsphere/issues/16481#issuecomment-1272350129

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] closed issue #16481: About user customize sql with force index

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #16481: About user customize sql with force index
URL: https://github.com/apache/shardingsphere/issues/16481


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org