Visitar URL original
Avoid casting run-end encoded Utf8 columns in LIKE / ILIKE · Issue #27376 · apache/datafusion · GitHub
Skip to content

Avoid casting run-end encoded Utf8 columns in LIKE / ILIKE #27376

Open

Description

@asubiotto

Is your feature request related to a problem or challenge?

LIKE/ILIKE on a run-end encoded Utf8 column casts it to Utf8 first, which expands every run and matches each row separately. Dictionary-encoded Utf8 columns already skip this cast.

Describe the solution you'd like

Once apache/arrow-rs#12154 lands, keep RunEndEncoded columns over Utf8 or Dictionary(_, Utf8) uncast, so LIKE matches each run once.

Describe alternatives you've considered

Keep the cast, and give up the benefit of the encoding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions