Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
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")));
Attachments
Issue Links
- links to