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/02/23 12:55:19 UTC

[GitHub] [shardingsphere] xsong123 opened a new issue #15599: 'show tables like ...' sqlstatement error

xsong123 opened a new issue #15599:
URL: https://github.com/apache/shardingsphere/issues/15599


   shardingsphere version 5.0.0
   mysql version 5.7
   
   'show tables like ...' sql  error:
   com.google.common.util.concurrent.UncheckedExecutionException: org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an error in your SQL syntax
   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051)
   at com.google.common.cache.LocalCache.get(LocalCache.java:3951)
   at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
   at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958)
   at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4964)
   at org.apache.shardingsphere.infra.parser.sql.SQLStatementParserEngine.parse(SQLStatementParserEngine.java:48)
   at org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine.parse0(ShardingSphereSQLParserEngine.java:71)
   at org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine.parse(ShardingSphereSQLParserEngine.java:60)
   at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.(ShardingSpherePreparedStatement.java:157)
   at org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement.(ShardingSpherePreparedStatement.java:128)
   at org.apache.shardingsphere.driver.jdbc.core.connection.ShardingSphereConnection.prepareStatement(ShardingSphereConnection.java:78)
   
   Caused by: org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an error in your SQL syntax
   at org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor.twoPhaseParse(SQLParserExecutor.java:68)
   at org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor.parse(SQLParserExecutor.java:49)
   at org.apache.shardingsphere.sql.parser.api.SQLParserEngine.parse(SQLParserEngine.java:51)
   at org.apache.shardingsphere.infra.parser.sql.SQLStatementParserExecutor.parse(SQLStatementParserExecutor.java:47)
   at org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader.load(SQLStatementCacheLoader.java:40)
   at org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader.load(SQLStatementCacheLoader.java:29)
   at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
   at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
   at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
   ... 78 more


-- 
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] strongduanmu commented on issue #15599: 'show tables like ...' sqlstatement error

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


   Hi @xsong123, thank you for your feedback. @tuichenchuxin Can you help check this sql in master branch?


-- 
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] tuichenchuxin closed issue #15599: 'show tables like ...' sqlstatement error

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


   


-- 
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] tuichenchuxin commented on issue #15599: 'show tables like ...' sqlstatement error

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


   @xsong123 Please use 
   ```
   show tables like 't_order'
   ```
   https://dev.mysql.com/doc/refman/8.0/en/show-tables.html


-- 
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] tuichenchuxin commented on issue #15599: 'show tables like ...' sqlstatement error

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


   @strongduanmu Thanks, I'll investigate this 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.

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

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