kimmking opened a new issue #3946: Proxy can't parse SQL "SHOW FULL TABLES FROM 
`test` LIKE '%'"
URL: https://github.com/apache/incubator-shardingsphere/issues/3946
 
 
   ## Bug Report
   When I start a proxy server in 4.0.0-RC3, and use DataGrip(A popular 
database&SQL IDE from JetBrains) to connect proxy via JDBC(modify options to 
use jdbc metadata) and database named `test`, then DataGrip will execute the 
SQL "SHOW FULL TABLES FROM `test` LIKE '%'" to find all tables in test 
database, but proxy return nothing.
   
   Run "SHOW FULL TABLES FROM `test` LIKE '%'" in mysql cli directly connecting 
to mysql-server without proxy will return all tables info.
   
   ### Which version of ShardingSphere did you use?
   4.0.0-RC3 and master
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-Proxy
   
   ### Expected behavior
   Sharding proxy server return tables info. And DataGrip show all tables in 
table views.
   
   ### Actual behavior
   Sharding proxy server return nothing. DataGrip tables view has no results.
   
   ### Reason analyze (If you can)
   Proxy Can't parse SQL "SHOW FULL TABLES FROM `test` LIKE '%'"
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   As above. "SHOW FULL TABLES FROM `test` LIKE '%'" doesn't work.
   But I try in mysql cli via proxy:
   - "SHOW FULL TABLES FROM `test`",  works well.
   - "SHOW FULL TABLES", works well.
   
   ### Example codes for reproduce this issue (such as a github link).
   
   Null.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to