dongjoon-hyun commented on a change in pull request #26837: [SPARK-30207][DOCS] 
Enhance the SQL NULL Semantics document
URL: https://github.com/apache/spark/pull/26837#discussion_r356396398
 
 

 ##########
 File path: docs/sql-ref-null-semantics.md
 ##########
 @@ -668,6 +669,10 @@ To summarize, below are the rules for computing the 
result of an `IN` expression
   list does not contain NULL values
 - UNKNOWN is returned when the value is `NULL`, or the non-NULL value is not 
found in the list
   and the list contains at least one `NULL` value
+
+NOT IN always returns UNKNOWN when the list contains NULL, regardless of the 
input value.
+This is because IN returns UNKNOWN if the value is not in the list, and 
because NOT UNKNOWN
 
 Review comment:
   ```not in the list -> not in the list containing `NULL` ```?

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