strongduanmu commented on issue #21417:
URL: 
https://github.com/apache/shardingsphere/issues/21417#issuecomment-1272525819

   When I execute `SELECT * FROM t_order INTERSECT ALL SELECT * FROM t_order;`, 
following result return.
   
   ```
   sharding_db=> SELECT * FROM t_order INTERSECT ALL SELECT * FROM t_order;
    order_id | user_id | status | merchant_id | remark | creation_date
   ----------+---------+--------+-------------+--------+---------------
   (0 rows)
   ```
   
   But the actual result should be.
   
   ```
    order_id | user_id | status | merchant_id | remark | creation_date 
   ----------+---------+--------+-------------+--------+---------------
        2501 |      25 | init   |           4 | test   | 2017-08-08
        1800 |      18 | init   |          13 | test   | 2017-08-08
        1900 |      19 | init   |          17 | test   | 2017-08-08
        1300 |      13 | init   |          13 | test   | 2017-08-08
        2600 |      26 | init   |           7 | test   | 2017-08-08
        1701 |      17 | init   |          10 | test   | 2017-08-08
        2801 |      28 | init   |          16 | test   | 2017-08-08
        2800 |      28 | init   |          15 | test   | 2017-08-08
        1001 |      10 | init   |           2 | test   | 2017-08-08
        2000 |      20 | init   |           3 | test   | 2017-08-08
        2301 |      23 | init   |          16 | test   | 2017-08-08
        1500 |      15 | init   |           1 | test   | 2017-08-08
        1201 |      12 | init   |          10 | test   | 2017-08-08
        2400 |      24 | init   |          19 | test   | 2017-08-08
        2201 |      22 | init   |          12 | test   | 2017-08-08
        1101 |      11 | init   |           6 | test   | 2017-08-08
        2700 |      27 | init   |          11 | test   | 2017-08-08
        1601 |      16 | init   |           6 | test   | 2017-08-08
        2300 |      23 | init   |          15 | test   | 2017-08-08
        1400 |      14 | init   |          17 | test   | 2017-08-08
        2701 |      27 | init   |          12 | test   | 2017-08-08
        1501 |      15 | init   |           2 | test   | 2017-08-08
        1401 |      14 | init   |          18 | test   | 2017-08-08
        2901 |      29 | init   |          20 | test   | 2017-08-08
        1200 |      12 | init   |           9 | test   | 2017-08-08
        2200 |      22 | init   |          11 | test   | 2017-08-08
        1700 |      17 | init   |           9 | test   | 2017-08-08
        2401 |      24 | init   |          20 | test   | 2017-08-08
        2500 |      25 | init   |           3 | test   | 2017-08-08
        2101 |      21 | init   |           8 | test   | 2017-08-08
        1600 |      16 | init   |           5 | test   | 2017-08-08
        1801 |      18 | init   |          14 | test   | 2017-08-08
        1301 |      13 | init   |          14 | test   | 2017-08-08
        2601 |      26 | init   |           8 | test   | 2017-08-08
        1100 |      11 | init   |           5 | test   | 2017-08-08
        2100 |      21 | init   |           7 | test   | 2017-08-08
        1000 |      10 | init   |           1 | test   | 2017-08-08
        2001 |      20 | init   |           4 | test   | 2017-08-08
        1901 |      19 | init   |          18 | test   | 2017-08-08
        2900 |      29 | init   |          19 | test   | 2017-08-08
   (40 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