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

Andrew Lamb reassigned ARROW-11742:
-----------------------------------

    Assignee: Nga Tran

> [Rust] [DataFusion] Add Expr::is_null and Expr::is_not_null functions
> ---------------------------------------------------------------------
>
>                 Key: ARROW-11742
>                 URL: https://issues.apache.org/jira/browse/ARROW-11742
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Andrew Lamb
>            Assignee: Nga Tran
>            Priority: Minor
>
> There are functions such as `Expr::lt` for building up expression trees more 
> simply
> I recently noticed that there is no `Expr::is_null()` or `Expr::is_not_null` 
> for easily creating `Expr::IsNull(..)` and `Expr::IsNotNull(..)`, 
> respectively.  Instead users must currently do something like;
> ```
>                 let tag_name_is_not_null = 
> Expr::IsNotNull(Box::new(col(tag_name)));
> ```
>         // What we want:
>         let expr : Expr = col("a").is_null();
>         // What we have to do:
>         let expr : Expr = Expr::IsNull(Box::new(col("a")));



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

Reply via email to