You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ulysses you (Jira)" <ji...@apache.org> on 2021/03/10 12:10:00 UTC

[jira] [Resolved] (SPARK-34691) Support Not(Int) and Not(InSet) propagate null

     [ https://issues.apache.org/jira/browse/SPARK-34691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ulysses you resolved SPARK-34691.
---------------------------------
    Resolution: Duplicate

> Support Not(Int) and Not(InSet) propagate null
> ----------------------------------------------
>
>                 Key: SPARK-34691
>                 URL: https://issues.apache.org/jira/browse/SPARK-34691
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: ulysses you
>            Priority: Minor
>
> `Not(In)` is a little magic, the semantic of it could be seen like `and(a != b, a != c)`
> As we already simplify the `NullIntolerant` expression to null if it's children have null at `NullPropagation`. e.g. `a != null` => null. It's safe to do the same simplify to `Not(In)`/ `Not(InSet)`
>  



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

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