zt9788 opened a new issue, #19144:
URL: https://github.com/apache/shardingsphere/issues/19144
## Bug Report
### Which version of ShardingSphere did you use?
version=5.1.2
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
```
select a,b,min(a_b) as startTime max(a_c) as endTime ,d,e,f,g (8 column)
from table_number where ......
```
mybatis read just have a,b,d... startTime,endTime will lost
<img width="522" alt="image"
src="https://user-images.githubusercontent.com/15647179/178942035-41db6574-7965-47a1-9568-43711b2246ea.png">
The sharding use hasSelectExpandProjections will return 5 columns
when the else was 8 columns
<img width="845" alt="image"
src="https://user-images.githubusercontent.com/15647179/178942697-c46007c8-0e8a-4fd5-be77-939221058756.png">
How can i set hasSelectExpandProjections to false or make it right?
--
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]