Is your feature request related to a problem or challenge?
Currently we have SessionState::create_logical_expr.
It would be nice to have a method that allows creating a logical expression from a sqlparser::ast::Expr. For instances where parsing has already been done.
Describe the solution you'd like
Add SessionState::create_logical_expr_from_sql_expr and SessionState::create_logical_expr_from_sql_expr_with_aliasor something similar that takes a parsed expression and returns the logical equivalent.
Describe alternatives you've considered
No response
Additional context
No response