-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Part of #9494
Is your feature request related to a problem or challenge?
Currently when we need to construct an Expr, we need to build it by hand, take a > 1 for example:
Expr::BinaryExpr(datafusion::logical_expr::BinaryExpr::new(
Box::new(col("a")),
Operator::Gt,
Box::new(lit(1)),
))Although this works, it becomes tedious when we need to construct complex expr like a > 1 and b in (1,10) ....
Describe the solution you'd like
Impl FromStr for Expr, so we can get an Expr from String directly.
Describe alternatives you've considered
No response
Additional context
No response
jayzhan211 and jonahgao
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed