kimmking edited a comment on issue #4565: distinct returns wrong result URL: https://github.com/apache/incubator-shardingsphere/issues/4565#issuecomment-594426703 If table user ~ 2 databases and 3 tables of each. ``` 1.select distinct age from user => wrong 2.select distinct age from user group by age 3.select distinct age from user order by age 4.select distinct age from user group by age order by age 5.select distinct age from user group by name 6.select distinct age from user order by id 7.select distinct age from user group by name order by id 8.select distinct age from user group by 1 ``` All of above sqls will executed to right result except the first one.
---------------------------------------------------------------- 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
