tristaZero edited a comment on issue #8525:
URL: https://github.com/apache/shardingsphere/issues/8525#issuecomment-741603244


   Hi @zhangwei1989 ,
   
   Update here. Could you set `sql-show = true` in server.yall and show more 
log here? For instance,
   ```
   [INFO ] 15:59:03.621 [main] ShardingSphere-metadata - Loading 4 tables' meta 
data for unconfigured tables.
   [INFO ] 15:59:03.637 [main] ShardingSphere-metadata - Loading 4 tables' meta 
data for unconfigured tables.
   [INFO ] 15:59:03.645 [main] ShardingSphere-metadata - Loading 4 tables' meta 
data for unconfigured tables.
   [INFO ] 15:59:03.647 [main] o.a.s.i.c.m.MetaDataContextsBuilder - Load meta 
data for schema replica_query_db finished, cost 68 milliseconds.
   Thanks for using Atomikos! Evaluate 
http://www.atomikos.com/Main/ExtremeTransactions for advanced features and 
professional support
   or register at http://www.atomikos.com/Main/RegisterYourDownload to disable 
this message and receive FREE tips & advice
   [INFO ] 15:59:03.947 [main] o.a.s.p.i.i.AbstractBootstrapInitializer - 
Database name is `MySQL`, version is `8.0.20`
   [INFO ] 15:59:04.099 [main] o.a.s.p.frontend.ShardingSphereProxy - 
ShardingSphere-Proxy start success.
   [INFO ] 15:59:30.366 [ShardingSphere-Command-7] ShardingSphere-SQL - Logic 
SQL: SHOW COLUMNS FROM t_order_item_0 FROM replica_query_db
   [INFO ] 15:59:30.366 [ShardingSphere-Command-7] ShardingSphere-SQL - 
SQLStatement: 
MySQLShowColumnsStatement(table=SimpleTableSegment(tableName=TableNameSegment(startIndex=18,
 stopIndex=31, identifier=IdentifierValue(value=t_order_item_0, 
quoteCharacter=NONE)), owner=Optional.empty, alias=Optional.empty), 
fromSchema=Optional[org.apache.shardingsphere.sql.parser.sql.common.segment.dal.FromSchemaSegment@24561780])
   [INFO ] 15:59:30.366 [ShardingSphere-Command-7] ShardingSphere-SQL - Actual 
SQL: primary_ds ::: SHOW COLUMNS FROM t_order_item_0 
   [INFO ] 15:59:30.
   ``` 
   
   


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


Reply via email to