[ 
https://issues.apache.org/jira/browse/SPARK-34692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17327009#comment-17327009
 ] 

Apache Spark commented on SPARK-34692:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/32278

> Support Not(Int) and Not(InSet) propagate null
> ----------------------------------------------
>
>                 Key: SPARK-34692
>                 URL: https://issues.apache.org/jira/browse/SPARK-34692
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: ulysses you
>            Assignee: ulysses you
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> The semantics of `Not(In)` could be seen like `And(a != b, a != c)` that 
> match the `NullIntolerant`.
> As we already simplify the `NullIntolerant` expression to null if it's 
> children have null. E.g. `a != null` => `null`. It's safe to do this with 
> `Not(In)`/`Not(InSet)`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to