Skip to content

Escape contains patterns for utf8 like kernels #2745

@Dandandan

Description

@Dandandan

Describe the bug

@jhorstmann identified in #2521

like supports escape characters now (#2258), so I think this also needs to check that the string does not end with '%'

To Reproduce

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

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratebug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions