chenhao7253886 opened a new issue #1492: NULL's operator "<=>" get wrong result
URL: https://github.com/apache/incubator-doris/issues/1492
 
 
   now ,  the result of comparing null with other value by operator "<=>" is 
wrong, for example:
   mysql> select null <=> null;
   +-------------+
   | NULL = NULL |
   +-------------+
   |        NULL |
   +-------------+
   1 row in set (0.00 sec)
   the result is wrong, the right result is:
   mysql> select null <=> null;
   +-------------+
   | NULL = NULL |
   +-------------+
   |           1 |
   +-------------+
   1 row in set (0.01 sec)
   Operator "<=>" is safe for null's comparing,so it will return 1 or 0.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to