luozenglin opened a new issue, #13742:
URL: https://github.com/apache/doris/issues/13742

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   master, 1.1
   
   ### What's Wrong?
   
   ```
   mysql> select * from baseall;
   
+------+------+--------+-------------+----------------------+------------+-------+------------+---------------------+-------------+-------------+-----------+-------------+------------------------------------------+
   | k0   | k1   | k2     | k3          | k4                   | k5         | 
k6    | k10        | k11                 | k7          | k8          | k9       
 | k12         | k13                                      |
   
+------+------+--------+-------------+----------------------+------------+-------+------------+---------------------+-------------+-------------+-----------+-------------+------------------------------------------+
   |    0 |    1 |   1989 |        1001 |             11011902 |    123.123 | 
true  | 1989-03-21 | 1989-03-21 13:00:00 | wangjuoo4   |         0.1 |     
6.333 | string12345 | 170141183460469231731687303715884105727  |
   |    0 |    2 |   1986 |        1001 |             11011903 |   1243.500 | 
false | 1901-12-31 | 1989-03-21 13:00:00 | wangynnsf   |      20.268 |    
789.25 | string12345 | -170141183460469231731687303715884105727 |
   |    0 |    4 |   1991 |        3021 |            -11011907 | 243243.325 | 
false | 3124-10-10 | 2015-03-13 10:30:00 | yanvjldjlll |        2.06 |    
-0.001 | string12345 | 20220101                                 |
   |    0 |    5 |   1985 |        5014 |            -11011903 |    243.325 | 
true  | 2015-01-01 | 2015-03-13 12:36:38 | du3lnvl     |          -0 |      
-365 | string12345 | 20220102                                 |
   |    1 |   15 |   1992 |        3021 |             11011920 |      0.000 | 
true  | 9999-12-12 | 2015-04-02 00:00:00 |             | 3.141592653 |    
20.456 | string12345 | 701411834604692317                       |
   |    0 |    3 |   1989 |        1002 |             11011905 |  24453.325 | 
false | 2012-03-14 | 2000-01-01 00:00:00 | yunlj8@nk   |       78945 |      
3654 | string12345 | 0                                        |
   |    0 |    7 | -32767 |        1002 |              7210457 |      3.141 | 
false | 1988-03-21 | 1901-01-01 00:00:00 | jiw3n4      |           0 |      
6058 | string12345 | -20220101                                |
   |    1 |    8 |    255 |  2147483647 |             11011920 |     -0.123 | 
true  | 1989-03-21 | 9999-11-11 12:12:00 | wangjuoo5   |  987456.123 |     
12.14 | string12345 | -2022                                    |
   |    1 |    9 |   1991 | -2147483647 |             11011902 |   -654.654 | 
true  | 1991-08-11 | 1989-03-21 13:11:00 | wangjuoo4   |           0 |    
69.123 | string12345 | 11011903                                 |
   |    1 |   11 |   1989 |       25699 | -9223372036854775807 |      0.666 | 
true  | 2015-04-02 | 1989-03-21 13:11:00 | yunlj8@nk   |    -987.001 |     
4.336 | string12345 | 1701411834604692317316873037158          |
   |    1 |   13 | -32767 |  2147483647 | -9223372036854775807 |    100.001 | 
false | 2015-04-02 | 2015-04-02 00:00:00 | wenlsfnl    |     123.456 | 
3.1415927 | string12345 | 701411834604692317316873037158           |
   |    1 |   14 |    255 |         103 |             11011902 |      0.000 | 
false | 2015-04-02 | 2015-04-02 00:00:00 |             | 3.141592654 |     
2.036 | string12345 | 701411834604692317316873                 |
   | NULL | NULL |   NULL |        NULL |                 NULL |       NULL | 
NULL  | NULL       | NULL                | NULL        |        NULL |      
NULL | NULL        | NULL                                     |
   |    1 |   10 |   1991 |        5014 |  9223372036854775807 |   -258.369 | 
false | 2015-04-02 | 2013-04-02 15:16:52 | wangynnsf   |  -123456.54 |     
0.235 | string12345 | -11011903                                |
   |    1 |   12 |  32767 | -2147483647 |  9223372036854775807 |    243.325 | 
false | 1991-08-11 | 2013-04-02 15:16:52 | lifsno      |    -564.898 | 
3.1415927 | string12345 | 1701604692317316873037158                |
   |    0 |    6 |  32767 |        3021 |               123456 | 604587.000 | 
true  | 2014-11-11 | 2015-03-13 12:36:38 | yanavnd     |         0.1 |     
80699 | string12345 | 20220104                                 |
   
+------+------+--------+-------------+----------------------+------------+-------+------------+---------------------+-------------+-------------+-----------+-------------+------------------------------------------+
   16 rows in set (0.07 sec)
   
   mysql> select * from test;
   
+------+------+------+------+----------+-----------+-------+------------+---------------------+-----------+--------+--------+-------------+------------------------------------------+
   | k0   | k1   | k2   | k3   | k4       | k5        | k6    | k10        | 
k11                 | k7        | k8     | k9     | k12         | k13           
                           |
   
+------+------+------+------+----------+-----------+-------+------------+---------------------+-----------+--------+--------+-------------+------------------------------------------+
   |    0 |    3 | 1989 | 1002 | 11011905 | 24453.325 | false | 2012-03-14 | 
2000-01-01 00:00:00 | yunlj8@nk |  78945 |   3654 | string12345 | 0             
                           |
   |    0 |    1 | 1989 | 1001 | 11011902 |   123.123 | true  | 1989-03-21 | 
1989-03-21 13:00:00 | wangjuoo4 |    0.1 |  6.333 | string12345 | 
170141183460469231731687303715884105727  |
   |    0 |    2 | 1986 | 1001 | 11011903 |  1243.500 | false | 1901-12-31 | 
1989-03-21 13:00:00 | wangynnsf | 20.268 | 789.25 | string12345 | 
-170141183460469231731687303715884105727 |
   
+------+------+------+------+----------+-----------+-------+------------+---------------------+-----------+--------+--------+-------------+------------------------------------------+
   3 rows in set (0.05 sec)
   
   mysql> select b.k1 from baseall b left anti join test t on b.k1 = t.k1 and 1 
= 2 order by b.k1;
   Empty set (0.09 sec)
   ```
   
   ### What You Expected?
   
   ```
   mysql> select b.k1 from baseall b left anti join test t on b.k1 = t.k1 and 1 
= 2 order by b.k1;
   +------+
   | k1   |
   +------+
   | NULL |
   |    1 |
   |    2 |
   |    3 |
   |    4 |
   |    5 |
   |    6 |
   |    7 |
   |    8 |
   |    9 |
   |   10 |
   |   11 |
   |   12 |
   |   13 |
   |   14 |
   |   15 |
   +------+
   ```
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to