Skip to content

[FEATURE] Support like function script pushdown from source for text field data type #3950

Closed

Description

@songkant-aws

Is your feature request related to a problem?
See comment in this PR: https://github.com/opensearch-project/sql/pull/3915/files#r2241175991

Like function for keyword field datatype is optimized to wildcard query when it can be pushed down. Wildcard query for text field has inconsistent behavior with SQL like function.

It's proposed to figure out a way to pushdown like function as a script. ScriptDocValues don't recommend to run script against text field. We can prototype reading text field values from source like params._source['region'].

What solution would you like?
A clear and concise description of what you want to happen.

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?
Add any other context or screenshots about the feature request here.

Activity

  1. added
    PPL
    calcite
    and removed on Aug 5, 2025
  2. moved this from Not Started to In progress in PPL Trackeron Aug 11, 2025
  3. moved this from In progress to In review in PPL Trackeron Aug 11, 2025
  4. self-assigned this
    on Aug 11, 2025
  5. moved this from In review to Done in PPL Trackeron Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLcalciteenhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions