xinyiZzz opened a new issue #5859:
URL: https://github.com/apache/incubator-doris/issues/5859


   **Describe the bug**
   query 1:
   ```
   SELECT * FROM tab1 INNER JOIN tab0 ON NULL = NULL
   ```
   `NULL = NULL` in Mysql is `false`
   `NULL = NULL` in Doris is `true`
   
   In contrast, query 2:
   ```
   SELECT * FROM tab1 where NULL = NULL
   ```
   NULL = NULL is `false` in both Doris and Mysql
   
   In addition, the conclusion is the same in NULL NOT BETWEEN NULL AND (NULL 
), NULL <> NULL, NULL <= NULL.
   
   Found through the sqllogictest test case.


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



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

Reply via email to