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: [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]