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:44:17 UTC

[GitHub] [shardingsphere] tuohai666 opened a new issue, #6693: information_schema and sys relevant SQLs can't parse or route

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

   ## 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/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 anymore 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?
   
   5.0.0-RC1-SNAPSHOT
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   Get the result from the following SQLs:
   
   ```
   show full processlist;
   select * from information_schema.processlist ;
   select * from information_schema.INNODB_TRX;
   select * from sys.schema_redundant_indexes;
   ```
   
   ### Actual behavior
   
   ```
   mysql> show full processlist;
   Query OK, 0 rows affected (0.06 sec)
   ```
   
   ```
   Exception in log: 
   line 1:10 no viable alternative at input 'showfullprocesslist'
   ```
   
   ```
   mysql> select * from information_schema.processlist;
   ERROR 10002 (C1000): 2Unknown exception: [Can not route tables for `[processlist]`, please make sure the tables are in same schema.]
   ```
   
   ```
   Exception in log:
   [ERROR] 18:09:12.379 [ShardingSphere-Command-5] o.a.s.p.f.c.CommandExecutorTask - Exception occur: 
   org.apache.shardingsphere.infra.exception.ShardingSphereException: Can not route tables for `[processlist]`, please make sure the tables are in same schema.
   	at org.apache.shardingsphere.sharding.route.engine.type.unconfigured.ShardingUnconfiguredTablesRoutingEngine.route(ShardingUnconfiguredTablesRoutingEngine.java:50)
   	at org.apache.shardingsphere.sharding.route.engine.ShardingRouteDecorator.decorate(ShardingRouteDecorator.java:72)
   	at org.apache.shardingsphere.sharding.route.engine.ShardingRouteDecorator.decorate(ShardingRouteDecorator.java:55)
   	at org.apache.shardingsphere.infra.route.DataNodeRouter.executeRoute(DataNodeRouter.java:89)
   	at org.apache.shardingsphere.infra.route.DataNodeRouter.route(DataNodeRouter.java:74)
   	at org.apache.shardingsphere.proxy.backend.communication.jdbc.wrapper.StatementExecutorWrapper.execute(StatementExecutorWrapper.java:67)
   	at org.apache.shardingsphere.proxy.backend.communication.jdbc.execute.engine.jdbc.JDBCExecuteEngine.execute(JDBCExecuteEngine.java:80)
   	at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:85)
   	at org.apache.shardingsphere.proxy.backend.text.query.QueryBackendHandler.execute(QueryBackendHandler.java:55)
   	at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:78)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:105)
   	at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:80)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   ```
   ### Reason analyze (If you can)
   
   ```
   Parse error:
   show full processlist;
   ```
   
   ```
   Route error:
   select * from information_schema.processlist;
   ```
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   Execute these SQLs straightforwardly.
   
   ### 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.

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] lcxywfe commented on issue #6693: information_schema and sys relevant SQLs can't parse or route

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

   Any news? phpmyadmin also need information_schema.


-- 
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 #6693: information_schema and sys relevant SQLs can't parse or route

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

   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 #6693: information_schema and sys relevant SQLs can't parse or route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #6693: information_schema and sys relevant SQLs can't parse or route
URL: https://github.com/apache/shardingsphere/issues/6693


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


Re: [I] information_schema and sys relevant SQLs can't parse or route [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6693:
URL: https://github.com/apache/shardingsphere/issues/6693#issuecomment-2028457537

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


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