Gerrrr commented on issue #8720:
URL: https://github.com/apache/iceberg/issues/8720#issuecomment-1752127496

   ```
   Flink SQL> SELECT * FROM word_count WHERE cnt = NULL;
   +----+--------------------------------+----------------------+
   | op |                           word |                  cnt |
   +----+--------------------------------+----------------------+
   Received a total of 0 row
   
   Flink SQL> SELECT * FROM word_count WHERE cnt is NULL;
   +----+--------------------------------+----------------------+
   | op |                           word |                  cnt |
   +----+--------------------------------+----------------------+
   | +I |                             zz |               <NULL> |
   +----+--------------------------------+----------------------+
   Received a total of 1 row
   
   Flink SQL> SELECT * FROM word_count WHERE cnt <> NULL;
   +----+--------------------------------+----------------------+
   | op |                           word |                  cnt |
   +----+--------------------------------+----------------------+
   Received a total of 0 row
   
   Flink SQL> SELECT * FROM word_count w1, word_count w2 WHERE w1.cnt = w2.cnt;
   
+----+--------------------------------+----------------------+--------------------------------+----------------------+
   | op |                           word |                  cnt |               
           word0 |                 cnt0 |
   
+----+--------------------------------+----------------------+--------------------------------+----------------------+
   Received a total of 0 row
   ```
   
   This behavior seems consistent with the SQL standard.


-- 
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: issues-unsubscr...@iceberg.apache.org

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


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

Reply via email to