Skip to content

[FEATURE] LIKE function should use WildcardQuery #1143

Closed as not planned
Closed as not planned

Description

@GumpacG

Is your feature request related to a problem?
LIKE query should be mapped to wildcard_query as mentioned in #1108 (comment)

What solution would you like?
This will be a breaking change since which should be implemented in 3.x.
Refer to #1108 and remove the LikeQuery class and its associated tests. Then make LIKE create a new WildCardQuery object in https://github.com/opensearch-project/sql/pull/1108/files#r1033815758.

Activity

  1. added
    enhancement
    on Dec 6, 2022
  2. dai-chen commented on Dec 14, 2022

    @dai-chen
    Collaborator

    Is this fixed in #1108 ?

  3. GumpacG commented on Dec 14, 2022

    @GumpacG
    CollaboratorAuthor

    Is this fixed in #1108 ?

    @dai-chen it is not. That PR introduced this issue. We want LIKE to use wildcardaquery however, if we do that it will be a breaking change. A fix to this issue will be towards 3.x. We did this in order to allow deprecation in 2.x.

  4. added
    PPL
    on May 29, 2025
  5. moved this from Not Started to Done in PPL Trackeron Jun 25, 2025
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

    PPLenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions