alamb commented on code in PR #13061:
URL: https://github.com/apache/datafusion/pull/13061#discussion_r1811270696
##########
datafusion/optimizer/Cargo.toml:
##########
@@ -41,6 +41,7 @@ async-trait = { workspace = true }
chrono = { workspace = true }
datafusion-common = { workspace = true, default-features = true }
datafusion-expr = { workspace = true }
+datafusion-functions = { workspace = true }
Review Comment:
I think we need to make some interface for rewriting the function through 🤔
Perhaps adding a method to `SimplifyInfo` like
```rust
/// return a new Expr with a function call for exact string prefix max
fn make_starts_with(base: Expr, prefix: Expr) -> Option<Expr>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]