paf31 opened a new issue, #16714: URL: https://github.com/apache/datafusion/issues/16714
### Describe the bug Best demonstrated with an example: ``` > select a ilike 'foo' from values ('FOO') bar(a); +-------------------------+ | bar.a ILIKE Utf8("foo") | +-------------------------+ | false | +-------------------------+ ``` `EXPLAIN VERBOSE` points to `expr_simplifier.rs` where the following is incorrectly assumed: ```rust // If the pattern does not contain any wildcards, we can simplify the like expression to an equality expression ``` (missing the check on `case_insensitive`) ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org