You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "sandynz (via GitHub)" <gi...@apache.org> on 2023/03/17 01:57:39 UTC

[GitHub] [shardingsphere] sandynz commented on issue #24655: Select from sub-query return records more than limited count on proxy

sandynz commented on issue #24655:
URL: https://github.com/apache/shardingsphere/issues/24655#issuecomment-1473000104

   Set `sql-federation-type: ADVANCED` in `server.yaml` to support it.
   
   ```
   mysql> select * from (select order_id,user_id from t_order order by order_id desc limit 1) t;
   +----------+---------+
   | order_id | user_id |
   +----------+---------+
   |    10000 |       1 |
   +----------+---------+
   1 row in set (0.38 sec)
   
   mysql> select order_id,user_id from t_order order by order_id desc limit 1;
   +----------+---------+
   | order_id | user_id |
   +----------+---------+
   |    10000 |       1 |
   +----------+---------+
   1 row in set (0.04 sec)
   ```
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org