bert-beyondloops commented on PR #19077:
URL: https://github.com/apache/datafusion/pull/19077#issuecomment-3611211465
Should you replace ‘\’ as well ?
‘%’, ‘_’ and ‘\’ are the 3 special characters within a like expression
See 'predicate.rs'
```
fn contains_like_pattern(pattern: &str) -> bool {
memchr3(b'%', b'_', b'\\', pattern.as_bytes()).is_some()
}
```
--
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]