GeekerG2Y opened a new issue #11613: URL: https://github.com/apache/shardingsphere/issues/11613
当前使用Spring Boot 2.0.6、MyBatis-Plus 3.4.3、ShardingSphere-JDBC 4.1.1。 首先,在未整合ShardingSphere时是完全正常无问题的! 在执行下图的SQL语句后(该表没有使用分片键),红框中的main_category_name字段查询不出来。  下图是控制台打印的SQL日志,可以看到SQL语句中是有该字段的,但查询出的结果集中service_score字段后面就没有main_category_name字段了。   但是! 如果在查询字段后面再加上一个字段,main_category_name字段又能查询出来了,我不太清除这个问题是我哪里设置不正确还是说ShardingSphere自身的问题。   此时可以看到main_category_name字段查询出来了,但是storeInfoId缺失了?  该情况在Select中使用子查询有时也会出现,而且并非最后一个的字段会出现,有时中间的某个字段也会出现该问题。 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
