zstan commented on PR #4332:
URL: https://github.com/apache/calcite/pull/4332#issuecomment-2841646041

   approach with changing for "is not distinct from" seems correct, plz also 
check this case :
   ```
   CREATE TABLE integers(i INTEGER);
   INSERT INTO integers VALUES (1), (2), (3), (NULL);
   SELECT i, EXISTS(SELECT i FROM integers WHERE i IS NULL OR i>i1.i*10) FROM 
integers i1;
   ```
   after your PR you will need to see correct :
   `1   true
   2    true
   3    true
   null true`


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