**Describe the bug** <!-- A clear and concise description of what the bug is. --> @jhorstmann identified in https://github.com/apache/arrow-rs/pull/2521 > like supports escape characters now (https://github.com/apache/arrow-rs/pull/2258), so I think this also needs to check that the string does not end with '\%' **To Reproduce** <!-- Steps to reproduce the behavior: --> Fails on master: ``` test_utf8_scalar!( test_utf8_scalar_like_escape_contains, vec!["ba%", "ba\\x"], "%a\\%", like_utf8_scalar, vec![true, false] ); ``` **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Additional context** <!-- Add any other context about the problem here. -->
Describe the bug
@jhorstmann identified in #2521
To Reproduce
Fails on master:
Expected behavior
Additional context