peilinqian commented on issue #22359:
URL: 
https://github.com/apache/shardingsphere/issues/22359#issuecomment-1348108683

   **version**
   ```
   we find java version: java8, full_version=1.8.0_282, 
full_path=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/bin/java
   ShardingSphere-5.2.2-SNAPSHOT
   Commit ID: dirty-631fdf40f87223e176abe5c851a51b3287b4d6de
   Commit Message: Fix wrong decide result when execute same sharding condition 
subquery with sql federation 
(https://github.com/apache/shardingsphere/pull/22754)
   Branch: 
https://github.com/apache/shardingsphere/commit/631fdf40f87223e176abe5c851a51b3287b4d6de
   Build time: 2022-12-12T10:48:40+0800
   ```
   **result :pass**
   ```
   test_db=> SELECT * FROM t_order o natural JOIN t_order_item i WHERE 
o.user_id = 10 ORDER BY o.order_id, 7;
    order_id | user_id |     creation_date     | status | merchant_id | remark 
| item_id | product_id | quantity
   
----------+---------+-----------------------+--------+-------------+--------+---------+------------+----------
        1000 |      10 | 2017-07-08 00:00:00.0 | init   |           1 | test   
|  100001 |          1 |        1
        1000 |      10 | 2017-07-08 00:00:00.0 | init   |           1 | test   
|  100002 |          1 |        1
        1001 |      10 | 2017-07-08 00:00:00.0 | init   |           2 | test   
|  100101 |          2 |        1
        1001 |      10 | 2017-07-08 00:00:00.0 | init   |           2 | test   
|  100102 |          2 |        1
   (4 rows)
   ```
   


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

Reply via email to