You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there is not arm for SimilarTo expr in func create_physical_expr (in datafusion/physical-expr/src/planner.rs:L106)
If I write sql include SimilarTo expr will got a panic which throw from below code
not_impl_err!("Physical plan does not support logical expression {other:?}")
}
For example:
> select * from t1 where c1 similar to 'x*';
This feature is not implemented: Physical plan does not support logical expression SimilarTo(Like { negated: false, expr: Column(Column { relation: Some(Bare { table: "t1" }), name: "c1" }), pattern: Literal(Utf8("x*")), escape_char: None, case_insensitive: false })
To Reproduce
No response
Expected behavior
No response
Additional context
Whether to consider removing the SimilarTo expression from the logical expression or add arm for it to convert to a special physical expression in func create_physical_expr
The text was updated successfully, but these errors were encountered:
Describe the bug
There is
SimilarTo
expr in logical exprdatafusion/datafusion/expr/src/expr.rs
Line 241 in 23ccca9
However, there is not arm for SimilarTo expr in func
create_physical_expr
(in datafusion/physical-expr/src/planner.rs:L106)If I write sql include
SimilarTo
expr will got a panic which throw from below codedatafusion/datafusion/physical-expr/src/planner.rs
Lines 345 to 347 in 23ccca9
For example:
To Reproduce
No response
Expected behavior
No response
Additional context
Whether to consider removing the
SimilarTo
expression from the logical expression or add arm for it to convert to a special physical expression in funccreate_physical_expr
The text was updated successfully, but these errors were encountered: