joooohnli commented on issue #2062: Wrong LIMIT rewrite while GROUP BY and 
ORDER BY on different items
URL: 
https://github.com/apache/incubator-shardingsphere/issues/2062#issuecomment-475102389
 
 
   @tuohai666 
   # Expected behavior
   
   What I input is **limit 0, 10**
   
   # Actual behavior
   What I really got is **limit 0, 2147483647** you can see as below:
   ```
   SQL: select max(sid) as sid, max(sendTime) as sendTime, objectId, sum(0) as 
unreadCount from TEST where memberId = ? and status != -1 group by objectId 
order by sendTime desc limit ?, ?
   SQL-BindValue: 52146792, 0, 2147483647
   ```

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