Skip to content

Conversation

@songkant-aws
Copy link
Contributor

Convert like function call to wildcard query for Calcite filter pushdown (#3915)

  • Convert like function call to wildcard query for Calcite filter pushdown

  • Fix V2 expression like function bug and match its behavior in Calcite

  • Fix like default escape in Calcite

  • Fix tests

  • Fix spotless check

  • Address comments

  • Fix SQL IT correctness

  • Remove test log

  • Minor improve one CalciteLikeQueryIT


(cherry picked from commit cd38983)

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…own (opensearch-project#3915)

* Convert like function call to wildcard query for Calcite filter pushdown

Signed-off-by: Songkan Tang <[email protected]>

* Fix V2 expression like function bug and match its behavior in Calcite

Signed-off-by: Songkan Tang <[email protected]>

* Fix like default escape in Calcite

Signed-off-by: Songkan Tang <[email protected]>

* Fix tests

Signed-off-by: Songkan Tang <[email protected]>

* Fix spotless check

Signed-off-by: Songkan Tang <[email protected]>

* Address comments

Signed-off-by: Songkan Tang <[email protected]>

* Fix SQL IT correctness

Signed-off-by: Songkan Tang <[email protected]>

* Remove test log

Signed-off-by: Songkan Tang <[email protected]>

* Minor improve one CalciteLikeQueryIT

Signed-off-by: Songkan Tang <[email protected]>

---------

Signed-off-by: Songkan Tang <[email protected]>
(cherry picked from commit cd38983)
Signed-off-by: Songkan Tang <[email protected]>
@penghuo penghuo merged commit 6b12b4d into opensearch-project:2.19-dev Jul 31, 2025
24 checks passed
@songkant-aws songkant-aws deleted the backport/backport-3915-to-2.19-dev branch August 1, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants