Sy9876 commented on issue #2725: why "select max(a) + 1 from sy" not supported 
even table sy is not a sharding table?
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2725#issuecomment-513055410
 
 
   I tried sharding-proxy-4.0.0-RC1, it works fine.
   
   ```
   mysql> select max(a)+1 from sy;
   +----------+
   | max(a)+1 |
   +----------+
   |        3 |
   +----------+
   1 row in set (0.01 sec)
   
   mysql> select sum(a)/count(1) from sy;
   +-----------------+
   | sum(a)/count(1) |
   +-----------------+
   |          1.5000 |
   +-----------------+
   1 row in set (0.01 sec)
   ```
   
   Thank you.

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